Back to Devexpress

TcxRotationAngle Type

vcl-cxgraphics-56a2c1a2.md

latest1.6 KB
Original Source

TcxRotationAngle Type

Enumerates rotation angles that the text and graphic primitive draw routines use.

Declaration

delphi
TcxRotationAngle = cxCustomCanvas.TcxRotationAngle;

Referenced Class

Type
TcxRotationAngle

Remarks

Options include:

ValueDescription
ra0The default (that is, normal) position that corresponds to a 0 degrees angle. A text string or graphic primitive displays as is.
raPlus90A draw routine rotates a text string or object left by 90 degrees from the default position ( ra0 ).
raMinus90A draw routine rotates a text string or object right by 90 degrees from the default position.
ra180A 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

TcxCanvas.DrawTexT

cxGraphics Unit