[]
Initializes a new instance of the Indexed8bppBitmap class.
public Indexed8bppBitmap(int pixelWidth, int pixelHeight, bool opaque, bool premultiplied = false, float dpiX = 96, float dpiY = 96)
Public Sub New(pixelWidth As Integer, pixelHeight As Integer, opaque As Boolean, Optional premultiplied As Boolean = False, Optional dpiX As Single = 96, Optional dpiY As Single = 96)
Type | Name | Description |
---|---|---|
int | pixelWidth | The width of the image, in pixels. |
int | pixelHeight | The height of the image, in pixels. |
bool | opaque | Indicates whether the alpha channel should be ignored. |
bool | premultiplied | Indicates whether the color channels for all pixels are premultiplied by the alpha channel. |
float | dpiX | The horizontal dpi of the image. |
float | dpiY | The vertical dpi of the image. |