Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods

TFMXCanvasHelper.TextOut(Integer,Integer,string,Single) Method

Scroll Prev Top Next More

Writes a string on the canvas, starting at the point (X,Y).

Use TextOut to write a string onto the canvas. The string will be written using the current value of Font. Use the    TextExtent method to determine the space occupied by the text in the image. To write only the text that fits within a clipping rectangle, use    TextRect instead.

alert_noteTip

This FMX version of the method adds a default Opacity parameter at the end of the parameters. This allows you to take advantage of the FMX ability to draw transparently to the canvas. Alternatively, don't set this parameter and it works exactly like the VCL TCanvas method.

Namespace: FMX.RS.CanvasHelper

Parameters

X

Type: Integer

Y

Type: Integer

Text

Type: string

Opacity

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb