Displays a text string on a specified rectangle area of the current canvas.
FillText draws a text string using the current string format and the specified font. The text is displayed in a specified rectangle area of the current canvas.
Namespace: RSGdiPlusGraphics
Delphi |
public |
Parameters
ARect
Type: TRectF
Rectangle area where the text is displayed.
AText
Type: string
Text to display.
AOpacity
Type: Single
Transparency of the Fill color. AOpacity takes values between 0 and 1. If AOpacity is 1, the text is completely opaque; if it is 0, the text is completely transparent. The values over 1 are treated as 1, and the ones under 0 are treated as 0.