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

function SetTextAngle(ARect: TRectF; AAngle: Single): TRectF; virtual; abstract;

Parameters

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

Returns

Transformed rectangle after rotation adjustment.