[]
Draws a Bitmap at the specified location and with the specified size.
public void DrawBitmap(GcBitmap bitmap, RectangleF rect, float opacity = 1)
Public Sub DrawBitmap(bitmap As GcBitmap, rect As RectangleF, Optional opacity As Single = 1)
Type | Name | Description |
---|---|---|
GcBitmap | bitmap | The Bitmap to draw. |
RectangleF | rect | Specifies the location and size of the drawn image. |
float | opacity | The opacity [0, 1] of the source bitmap, to multiply to the source bitmap's alpha channel. |