Skip to main content
Table of Contents

TTMSFNCGraphicsContextGeneral.SetTextAngle Method

Applies a rotation angle for subsequent text rendering and returns the adjusted rectangle.

API unit family: TMSFNCGraphics.General Declaring type: TTMSFNCGraphicsContextGeneral

Syntax

FMX.TMSFNCGraphics.General.hppPascalC++
function SetTextAngle(ARect: TRectF; AAngle: Single): TRectF; override;
virtual System::Types::TRectF __fastcall SetTextAngle(const System::Types::TRectF &ARect, float AAngle);

Parameters

Name Description
ARect The original text bounding rectangle.
AAngle The rotation angle in degrees.

Returns

The adjusted rectangle after applying the text angle transform.