path_get_kind


Description

Paths can be either smooth or straight (a smooth path calculates a curved path around the defining points, whereas a straight path just goes straight from one point to another). This function can be used to find out whether the given path is smooth (true) or not (false).


Syntax:

path_get_kind(index);

Argument Description
index The index of the path to check.


Returns:

Boolean


Example:

kind = path_get_kind(c_path);

This will set "state" to either true or false depending on the state of path0.