Hide Comments
Hide Comments

TRSGPCanvas.FillText(TRectF,string,Boolean,Single,TRSGPFillTextFlags,TRSGPStringAlignment,TRSGPStringAlignment) Method

Comments (0)

Displays a text string on a specified rectangle area of the current canvas.

FillText is implemented by the TCanvas descendants to display a text string with the specified alignment and the current font specified by the    Font property. The text is displayed in a specified rectangle area of the current canvas.
 

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

ARect

Type: TRectF

Rectangle area where the text is displayed.
 

AText

Type: string

Text to display.
 

WordWrap

Type: Boolean

Word wrapping option. If it is True, it indicates that words are broken across lines to avoid text overflowing the layout box. If it is set to False, it indicates that words are kept within the same line even when the text overflows the layout box.
 

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.
 

Flags

Type: TRSGPFillTextFlags

Reading direction of AText. For more information, see FMX.Graphics.TFillTextFlag.
 

ATextAlign

Type: TRSGPStringAlignment

Horizontal alignment of the text within ARect.

AVTextAlign

Type: TRSGPStringAlignment

Vertical alignment of the text within ARect. AVTextAlign is optional. By default, it is set to Center.
 

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb