Returns size and origin of a rotated string
Namespace: FMX.RS.Graphics
Delphi |
function GetRotatedTextExtent( const Canvas: TCanvas; Angle: Integer; const Str: String; var Origin: TPoint ): TSize; overload; |
Parameters
Canvas
Type: TCanvas
Angle
Type: Integer
Amount in degrees to rotate
Str
Type: String
String to rotate
Origin
Type: TPoint
Origin of the rotated string
Type: TSize
Reference |