TTMSFNCTimelineSectionDrawingParams Record
Parameters passed to section drawing events, describing the section state, bounding rectangle, text layout, and row placement.
API unit family: TMSFNCTimeline
Syntax
TTMSFNCTimelineSectionDrawingParams = record
Fields and properties
| Name | Type | Description |
|---|---|---|
DrawRect |
TRectF |
Bounds of the section bar. |
DrawSection |
Boolean |
Set to False to suppress drawing of the section. |
DrawText |
Boolean |
Set to False to suppress the section caption. |
Hovered |
Boolean |
True when the pointer is over the section. |
NumOfRows |
Integer |
Total number of rows sections are stacked across. |
RoundedCorners |
TTMSFNCGraphicsCorners |
Which corners of the section bar are rounded. |
Rounding |
Integer |
Corner radius of the section bar, in pixels. |
Row |
Integer |
Zero-based row the section occupies when sections are stacked. |
Section |
TTMSFNCTimelineSection |
The section about to be drawn. |
Selected |
Boolean |
True when the section is part of the current selection. |
Text |
string |
The section 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 DrawRect. |
TextVerticalAlign |
TTMSFNCGraphicsTextAlign |
Vertical alignment of the caption inside TextRect. |
WordWrap |
Boolean |
True when the caption wraps to multiple lines instead of being clipped. |