# SetTextAngle

## Description

Updates the angle of the text. If the text is aligned to the left then it will rotate around its top left corner. When using center alignment it will rotate around a point halfway along its top edge. When using right alignment it will rotate around its top eight corner.

## Definition

SetTextAngle( iTextIndex, fAngle )

void agk::SetTextAngle( UINT iTextIndex, float fAngle )

## Parameters

- iTextIndex - The ID of the text object to update.
- fAngle - The new angle in degrees.