Skip to main content
Table of Contents

TTMSFNCGraphicsContext.SetTextAngle Method

Adjusts the text drawing rectangle to account for the given rotation angle and returns the transformed rectangle.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

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

Parameters

Name Description
ARect Original text layout rectangle before rotation.
AAngle Rotation angle in degrees.

Returns

Transformed rectangle after rotation adjustment.