path_get_closed


Description

This function can be used to return whether the path is flagged as closed (true) or open (false), ie whether the path loops or if it has a definitive beginning and end.


Syntax:

path_get_closed(index);

Argument Description
index The index of the path to check.


Returns:

Boolean


Example:

state = path_get_closed(c_path);

This will set "state" to either true or false depending on the closed state of the path indexed in "c_path".