CLSP —
Format
Parameter
Function
File
CLoSe Path
CLSP;
None
The CLSP command closes an open path by adding a line segment extending from the
end of the path to the beginning of the path.
Simply ending a path at the path's starting point does not make it a closed path; such a
path remains open until it is closed. Closure can be made either explicitly, by means of
the CLSP command, or implicitly by means of the FILL (FILL current path) command.
!R! RES; UNIT C;
NEWP;
CMNT The 1 st path below is stroked without closing;
SPD .25;
PMZP 5, 10;
PMRA 5, 10, 1, 90;
PARC 5, 10, 1, 90, 270;
PARC 7, 10, 1, 270, 90;
STRK;
NEWP;
CMNT Next path is closed by CLSP before stroked;
PMZP 5, 14;
PMRA 5, 14, 1, 90;
PARC 5, 14, 1, 90, 270;
PARC 7, 14, 1, 270, 90;
CLSP;
STRK;
PAGE; EXIT;
CLSP
57