TTMSFNCGraphicsContext.DrawBitmap Method
Draws a source region of a bitmap into a destination rectangle at the given opacity.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphicsContext
Syntax
procedure DrawBitmap(ABitmap: TTMSFNCDrawBitmap; ASrcRect, ADstRect: TRectF; AOpacity: Single); virtual; abstract;
Parameters
| Name | Description |
|---|---|
ABitmap |
Bitmap to draw. |
ASrcRect |
Source region within the bitmap to draw. |
ADstRect |
Destination rectangle on the canvas. |
AOpacity |
Opacity in the range 0.0 (transparent) to 1.0 (opaque). |