[]
Initializes a new instance of the GcD2DBitmap class.
public GcD2DBitmap()
Public Sub New()
Initializes a new instance of the GcD2DBitmap class and creates the image.
The image content is not initialized and can contain any random data.
public GcD2DBitmap(int pixelWidth, int pixelHeight, float dpiX = 96, float dpiY = 96)
Public Sub New(pixelWidth As Integer, pixelHeight As Integer, 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. |
float | dpiX | The horizontal dpi of the image. |
float | dpiY | The vertical dpi of the image. |