[]
Stores the image buffer to a GcBitmap.
public GcBitmap ToGcBitmap(bool updatePixelFormat = false)
Public Function ToGcBitmap(Optional updatePixelFormat As Boolean = False) As GcBitmap
Type | Name | Description |
---|---|---|
bool | updatePixelFormat | Indicates if all pixels should be converted from premultiplied alpha format or to opaque format with alpha = 255. |
Type | Description |
---|---|
GcBitmap |
Stores a rectangular area of the image to a GcBitmap.
public GcBitmap ToGcBitmap(Rectangle srcRect, bool updatePixelFormat = false)
Public Function ToGcBitmap(srcRect As Rectangle, Optional updatePixelFormat As Boolean = False) As GcBitmap
Type | Name | Description |
---|---|---|
Rectangle | srcRect | The source rectangle within the image. |
bool | updatePixelFormat | Indicates if all pixels should be converted from premultiplied alpha format or to opaque format with alpha = 255. |
Type | Description |
---|---|
GcBitmap |
Stores the image buffer into an existing instance of GcBitmap.
public void ToGcBitmap(GcBitmap bmp, bool updatePixelFormat = false)
Public Sub ToGcBitmap(bmp As GcBitmap, Optional updatePixelFormat As Boolean = False)