Bitmap Class
Namespace: System.Drawing · Assembly: GHIElectronics.TinyCLR.Drawing
A raster bitmap loaded from a resource or stream (BMP/JPEG/GIF; PNG and TIFF are not supported).
public class Bitmap : Image
Constructors
Bitmap(int width, int height)
public Bitmap(int width, int height)
No description available.
| Parameter | Type | Description |
|---|---|---|
width | int | |
height | int |
Bitmap(byte[] data, int width, int height)
public Bitmap(byte[] data, int width, int height)
No description available.
| Parameter | Type | Description |
|---|---|---|
data | byte[] | |
width | int | |
height | int |
Bitmap(Stream stream)
public Bitmap(Stream stream)
No description available.
| Parameter | Type | Description |
|---|---|---|
stream | Stream |
Bitmap(byte[] buffer, BitmapImageType type)
public Bitmap(byte[] buffer, BitmapImageType type)
No description available.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | |
type | BitmapImageType |
Bitmap(byte[] buffer, int offset, int count, BitmapImageType type)
public Bitmap(byte[] buffer, int offset, int count, BitmapImageType type)
No description available.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | |
offset | int | |
count | int | |
type | BitmapImageType |
Methods
SetPixel(int x, int y, Color color)
public override void SetPixel(int x, int y, Color color)
No description available.
| Parameter | Type | Description |
|---|---|---|
x | int | |
y | int | |
color | Color |
GetPixel(int x, int y)
public override Color GetPixel(int x, int y)
No description available.
| Parameter | Type | Description |
|---|---|---|
x | int | |
y | int |
Returns Color