ImageEn, unit iexLayers

TIEAngleLayer.SweepAngle

TIEAngleLayer.SweepAngle


Declaration

property SweepAngle: Double;


Description

The angle between the first and second line line.
For example, if the first line is straight up (90), and the second line is straight down (270) then the sweep is 180
In ImageEn, angles start at 3pm on the clock and rotate counter-clockwise, e.g. 0=3pm, 90=12pm, 180=9pm, 270=6pm


Example

TIEAngleLayer( ImageEnView1.CurrentLayer ).StartAngle := 90;
TIEAngleLayer( ImageEnView1.CurrentLayer ).EndAngle := 180;

// Which is the same as:
TIEAngleLayer( ImageEnView1.CurrentLayer ).StartAngle := 90;
TIEAngleLayer( ImageEnView1.CurrentLayer ).SweepAngle := 90;


See Also

- EndAngle
- StartAngle
- InvertAngle
- AngleMode