Skip to main content

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.

ParameterTypeDescription
widthint
heightint

Bitmap(byte[] data, int width, int height)

public Bitmap(byte[] data, int width, int height)

No description available.

ParameterTypeDescription
databyte[]
widthint
heightint

Bitmap(Stream stream)

public Bitmap(Stream stream)

No description available.

ParameterTypeDescription
streamStream

Bitmap(byte[] buffer, BitmapImageType type)

public Bitmap(byte[] buffer, BitmapImageType type)

No description available.

ParameterTypeDescription
bufferbyte[]
typeBitmapImageType

Bitmap(byte[] buffer, int offset, int count, BitmapImageType type)

public Bitmap(byte[] buffer, int offset, int count, BitmapImageType type)

No description available.

ParameterTypeDescription
bufferbyte[]
offsetint
countint
typeBitmapImageType

Methods

SetPixel(int x, int y, Color color)

public override void SetPixel(int x, int y, Color color)

No description available.

ParameterTypeDescription
xint
yint
colorColor

GetPixel(int x, int y)

public override Color GetPixel(int x, int y)

No description available.

ParameterTypeDescription
xint
yint

Returns Color