BufferDrawTarget Class
Namespace: GHIElectronics.TinyCLR.Drawing · Assembly: GHIElectronics.TinyCLR.Drawing
No description available.
public abstract class BufferDrawTarget : IDrawTarget
Constructors
BufferDrawTarget(int width, int height, int bpp)
protected BufferDrawTarget(int width, int height, int bpp)
No description available.
| Parameter | Type | Description |
|---|---|---|
width | int | |
height | int | |
bpp | int |
Properties
Width
public int Width { get; }
Column width in pixels. (inherited)
Height
public int Height { get; }
Frame height in pixels. (inherited)
Methods
GetData()
public byte[] GetData()
No description available.
Returns byte[]
Clear(Color color)
public void Clear(Color color)
No description available.
| Parameter | Type | Description |
|---|---|---|
color | Color |
Dispose()
public virtual void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)
Flush()
public virtual void Flush()
Writes unwritten data to the file. (inherited)
GetPixel(int x, int y)
public abstract Color GetPixel(int x, int y)
No description available.
| Parameter | Type | Description |
|---|---|---|
x | int | |
y | int |
Returns Color
SetPixel(int x, int y, Color color)
public abstract void SetPixel(int x, int y, Color color)
No description available.
| Parameter | Type | Description |
|---|---|---|
x | int | |
y | int | |
color | Color |
Fields
buffer
protected readonly byte[] buffer
No description available.