TTMSFNCGraphicsSVGEngine.DrawBitmap Method
Embeds a bitmap into the SVG output as a
<image>element encoded in base-64.
API unit family: TMSFNCGraphicsSVGEngine
Declaring type: TTMSFNCGraphicsSVGEngine
Syntax
procedure DrawBitmap(ALeft, ATop, ARight, ABottom: Double; ABitmap: TTMSFNCBitmapHelperClass; AAspectRatio: Boolean = True; AStretch: Boolean = False; ACenter: Boolean = True; ACropping: Boolean = False); override;
Parameters
| Name | Description |
|---|---|
ALeft |
Left edge of the destination rectangle. |
ATop |
Top edge of the destination rectangle. |
ARight |
Right edge of the destination rectangle. |
ABottom |
Bottom edge of the destination rectangle. |
ABitmap |
The bitmap to embed. |
AAspectRatio |
When True, the bitmap aspect ratio is preserved. |
AStretch |
When True, the bitmap is stretched to fill the rectangle. |
ACenter |
When True, the bitmap is centered in the rectangle. |
ACropping |
When True, the bitmap is cropped to the rectangle. |