[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The Style of the Text to be drawn in a rectangle
Source position: graphics.pp line 102
type TTextStyle = packed record |
||
Alignment: TAlignment; |
|
|
Layout: TTextLayout; |
|
|
SingleLine: Boolean; |
|
|
Clipping: Boolean; |
|
|
ExpandTabs: Boolean; |
|
|
ShowPrefix: Boolean; |
|
|
Wordbreak: Boolean; |
|
|
Opaque: Boolean; |
|
|
SystemFont: Boolean; |
|
|
RightToLeft: Boolean; |
|
|
EndEllipsis: Boolean; |
||
end; |
The Style of the Text to be drawn in a rectangle
* Alignment : TextRect Only: horizontal alignment
* Layout : TextRect Only: vertical alignment
* SingleLine: boolean; If WordBreak is false then process #13, #10 as standard chars and perform no Line breaking.
* Clipping : boolean; TextRect Only: Clip Text to passed Rectangle
* ExpandTabs: boolean; currently ignored
* ShowPrefix: boolean; TextRect Only: Process first single ampersand per line as an underscore and draw double ampersand as a single ampersand
* Wordbreak : boolean; TextRect Only: If line of text is too long to fit between left and right boundaries, try to break into multiple lines between words
* Opaque : boolean; TextRect: Fills background with current Brush
* Opaque : TextOut : Fills background with current foreground color
* SystemFont: Boolean; Use the system font instead of Canvas Font
* RightToLeft: Boolean; For RightToLeft text reading (Text Direction)
lazarus-ccr.sourceforge.net |