TXLSShape.Rotation property

Unit: lxDraw
The angle, in degrees, by which the shape is rotated clockwise around its centre.

Syntax

property Rotation: Double read GetRotation write SetRotation

Description

The clockwise rotation of the shape about its centre, in degrees. An arbitrary angle lives in option property $0004 as 1/65536 of a degree, and that stored value is what this property reads and writes. A quarter turn is normalised by the application into its own orientation and reported as zero, which is also the answer this property gives for such a shape. A value outside 0 to 360 is wrapped into that range, while zero clears the stored angle rather than writing one.

See also