Draws multi-line text string to canvas, wrapping the text based on the delimiters specifed by BreakChars. The MaxWidth specifies the maximum width of each line.
Namespace: FMX.RS.Graphics
Delphi |
function WrapCanvasText( const Canvas: TCanvas; Text: string; |
Parameters
Canvas
Type: TCanvas
Canvas to draw on
Text
Type: string
Multi-line text to draw
BreakStr
Type: string
String to replace end of line with
BreakChars
Type: TSysCharSet
Delimiters that specifies word boundaries
MaxWidth
Type: System.Void
Maximum width of each line
Type: String
Reference |