TIEVSoftShadow.GetAngleAndDist
Declaration
procedure TIEVSoftShadow.GetAngleAndDist(out Angle: Double; out Distance: Double);
Description
Returns the current
OffsetX and
OffsetY in terms of the offset angle and distance.
In ImageEn, angles start at 3pm on the clock and rotate counter-clockwise, e.g. 0°=3pm, 90°=12pm, 180°=9pm, 270°=6pm
To set the offset values use:
SetByAngleAndDist// Display the current soft shadow offset values
ImageEnView1.CurrentLayer.SoftShadow.GetAngleAndDist( ang, dist );
UpDown1.Value := ang;
UpDown2.Value := dist;