TTMSFNCTimelineBitmapDrawingParams Record
Parameters passed to the bitmap drawing event handler, providing the bitmap and its target rectangle and scaling options.
API unit family: TMSFNCTimeline
Syntax
TTMSFNCTimelineBitmapDrawingParams = record
Fields and properties
| Name | Type | Description |
|---|---|---|
AspectRatio |
Boolean |
True when the original width-to-height ratio is preserved while fitting the image to Rect. |
Bitmap |
TTMSFNCBitmap |
The image about to be drawn. |
Center |
Boolean |
True when the image is centered within Rect instead of aligned to its top-left corner. |
Crop |
Boolean |
True when the parts of the image that fall outside Rect are clipped away. |
Rect |
TRectF |
Bounds the image is drawn within. |
Stretch |
Boolean |
True when the image is resized to fill Rect. |