instance. Point

The instance.Point function contains convenience methods and members for Rac.Point objects setup with the owning Rac instance.

Source:

Members

origin :Rac.Point

A Point at (0, 0).

Equal to instance.Point#zero.

zero :Rac.Point

A Point with all values set to zero.

Methods

canvasCenter() → {Rac.Point}

Returns a Point at the center of the canvas.

Added to instance.Point when Rac.P5Drawer is setup as rac.drawer.

canvasEnd() → {Rac.Point}

Returns a Point at the end of the canvas, that is, at the position (width,height).

Added to instance.Point when Rac.P5Drawer is setup as rac.drawer.

pointer() → {Rac.Point}

Returns a Point at the current position of the pointer.

Added to instance.Point when Rac.P5Drawer is setup as rac.drawer.