Bitmap Constructor (Int32, Int32, PixelFormat, IEnumerableColor) |
Creates a new bitmap with the specified dimensions, format and 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<Color> data
)
Public Sub New (
width As Integer,
height As Integer,
pixelFormat As PixelFormat,
data As IEnumerable(Of Color)
)
new :
width : int *
height : int *
pixelFormat : PixelFormat *
data : IEnumerable<Color> -> Bitmap
Parameters
- width
- Type: SystemInt32
Width of the bitmap - height
- Type: SystemInt32
Height of the bitmap - pixelFormat
- Type: Eto.DrawingPixelFormat
Format of each pixel - data
- Type: System.Collections.GenericIEnumerableColor
Color data enumeration, starting from top-left of the bitmap and width*height length
See Also