Click or drag to resize

IndexedBitmap Constructor

Initializes a new instance of the IndexedBitmap class

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public IndexedBitmap(
	int width,
	int height,
	int bitsPerPixel
)

Parameters

width
Type: SystemInt32
Width of the bitmap in pixels
height
Type: SystemInt32
Height of the bitmap in pixels
bitsPerPixel
Type: SystemInt32
Number of bits per pixel, usually 4 (16 colours), 6 (64 colours), or 8 (256 colours)
See Also