Procedure SetArc sets the start and sweep angles of the referenced arc or round wall object. Specify the angles in degrees.
PROCEDURE SetArc(
h : HANDLE;
startAngle : REAL;
arcAngle : REAL);def vs.SetArc(h, startAngle, arcAngle):
return None| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to arc. |
| startAngle | REAL | New start angle of arc. |
| arcAngle | REAL | New sweep angle of arc. |
PROCEDURE GetArcSetArcExample;
VAR
h :HANDLE;
startAng, sweepAng :REAL;
BEGIN
h := FSActLayer;
GetArc(h, startAng, sweepAng);
SetArc(h, startAng, sweepAng + 10);
END;
RUN(GetArcSetArcExample);Availability: from All Versions