gr_point_create

Syntax:

gr_point_create(x, y, stroke);
Argument name Type Description
x real The x coordinate of the point.
y real The y coordinate of the point.
stroke integer The stroke index for the specified point startig from zero.

Returns: (Point) The point instance

Description:

Creates a point and returns it. If you are creating a gesture with multiple strokes, you can pass the stroke index. If not, simply pass 0 (zero) for the stroke parameter.