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

function SetTextAngle(ARect: TRectF; AAngle: Single): TRectF; override;

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.