VS:SetPolyClosed
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the closed condition of the referenced poly.
PROCEDURE SetPolyClosed(
polyHandle :HANDLE;
isClosed :BOOLEAN);
def vs.SetPolyClosed(polyHandle, isClosed): return None
Parameters
polyHandle HANDLE isClosed BOOLEAN
Example
PROCEDURE Example; VAR h :HANDLE; BEGIN h := FSActLayer; SetPolyClosed(h, (NOT IsPolyClosed(h))); END; RUN(Example);
Version
Availability: from All Versions
This is drop-in function.