vcl-cxgraphics-56a2c1a2.md
Enumerates rotation angles that the text and graphic primitive draw routines use.
TcxRotationAngle = cxCustomCanvas.TcxRotationAngle;
| Type |
|---|
| TcxRotationAngle |
Options include:
| Value | Description |
|---|---|
| ra0 | The default (that is, normal) position that corresponds to a 0 degrees angle. A text string or graphic primitive displays as is. |
| raPlus90 | A draw routine rotates a text string or object left by 90 degrees from the default position ( ra0 ). |
| raMinus90 | A draw routine rotates a text string or object right by 90 degrees from the default position. |
| ra180 | A draw routine rotates a text string or graphic primitive by 180 degrees (that is, draws it upside down). |
Note
You can use the dxUseAntialiasingForRotatedText global variable to control if the second overloaded TcxCanvas.DrawTexT procedure variant applies the ClearType antialiasing effect to a rotated text (that is, if the ARotationAngle parameter is raPlus90 , raMinus90 , or ra180 ) in your application.
See Also