TTMSFNCGraphicsContextUnix.DrawText Method
Draws a text string within the specified rectangle with the given layout and trimming options.
API unit family: TMSFNCGraphics.Unix
Declaring type: TTMSFNCGraphicsContextUnix
Syntax
procedure DrawText(AText: string; ARect: TRectF; AWordWrapping: Boolean; AHorizontalAlign, AVerticalAlign: TTMSFNCGraphicsTextAlign; ATrimming: TTMSFNCGraphicsTextTrimming; AAngle: Single); override;
Parameters
| Name | Description |
|---|---|
AText |
The text string to render. |
ARect |
The bounding rectangle for the text. |
AWordWrapping |
Set to True to wrap text to the next line when it reaches the right edge. |
AHorizontalAlign |
Horizontal alignment of the text within the rectangle. |
AVerticalAlign |
Vertical alignment of the text within the rectangle. |
ATrimming |
Trimming mode applied when text overflows the rectangle. |
AAngle |
Rotation angle for the text in degrees. |