TTMSFNCTimelineAnnotationDrawingParams Record
Parameters passed to annotation drawing events, describing the callout state, rectangle, text layout, and selection status.
API unit family: TMSFNCTimeline
Syntax
TTMSFNCTimelineAnnotationDrawingParams = record
Fields and properties
| Name | Type | Description |
|---|---|---|
AnnotationAlign |
TTMSFNCGraphicsTextAlign |
Alignment of the annotation balloon within the space available at its position. |
AnnotationHovered |
Boolean |
True when the pointer is over the annotation itself. |
IndicatorHovered |
Boolean |
True when the pointer is over the indicator the annotation belongs to. |
Position |
TTMSFNCTimelineAnnotationPosition |
Placement of the annotation relative to its indicator. |
Rect |
TRectF |
Bounds of the annotation balloon. |
RoundedCorners |
TTMSFNCGraphicsCorners |
Which corners of the annotation balloon are rounded. |
Rounding |
Integer |
Corner radius of the annotation balloon, in pixels. |
Selected |
Boolean |
True when the annotation belongs to a selected indicator. |
Text |
string |
The annotation caption about to be drawn. |
TextAngle |
Single |
Rotation applied to the caption, in degrees. |
TextHorizontalAlign |
TTMSFNCGraphicsTextAlign |
Horizontal alignment of the caption inside TextRect. |
TextRect |
TRectF |
Bounds the caption is drawn within, inset from Rect. |
TextVerticalAlign |
TTMSFNCGraphicsTextAlign |
Vertical alignment of the caption inside TextRect. |
WordWrap |
Boolean |
True when the caption wraps to multiple lines instead of being clipped. |