Click or drag to resize

Bitmap Constructor (Int32, Int32, PixelFormat, IEnumerableInt32)

Creates a new bitmap with the specified dimensions, format, and integer pixel data

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Bitmap(
	int width,
	int height,
	PixelFormat pixelFormat,
	IEnumerable<int> data
)

Parameters

width
Type: SystemInt32
Width of the bitmap
height
Type: SystemInt32
Height of the bitmap
pixelFormat
Type: Eto.DrawingPixelFormat
Format for each pixel
data
Type: System.Collections.GenericIEnumerableInt32
Colordata enumeration, in ARGB format, starting from top-left of the bitmap and width*height length
See Also