TTextStyle record
The
Style of the
Text to be drawn in a rectangle.
Declaration
TTextStyle = packed recordDescription
TTextStyle is a packed record type which contains setting used when a control draws text using TextOut or TextRect. It is used to save, restore and configure values needed for the canvas which renders a control.
Fields
Alignment | Horizontal alignment in the text rectangle. | |
Layout | Vertical alignment in the text rectangle. | |
SingleLine | Indicates if the text is rendered as a single line. | |
Clipping | Causes text to be clipped to the text rectangle. | |
ExpandTabs | Causes Tab characters to be replaced with spaces. | |
ShowPrefix | Draws a single Ampersand characters as an accelerator key decoration. | |
Wordbreak | Causes a long line of text to be word-wrapped. | |
Opaque | Causes the output to be drawn with full opacity. | |
SystemFont | Causes the system font to be used instead of the canvas font. | |
RightToLeft | For RightToLeft text reading (text direction). | |
EndEllipsis | Indicates if text is "ellipsified" when too long for its rectangle. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
