The instance.Point function contains convenience methods and members
for Rac.Point objects setup with the owning Rac instance.
- Source:
Members
origin :Rac.Point
#
| source:
drawable/instance.Point.js, line 22
A Point at (0, 0).
Equal to instance.Point#zero.
zero :Rac.Point
#
| source:
drawable/instance.Point.js, line 13
A Point with all values set to zero.
Methods
canvasCenter() → {Rac.Point}
#
| source:
p5Drawer/Point.functions.js, line 35
Returns a Point at the center of the canvas.
Added to instance.Point when Rac.P5Drawer is setup as
rac.drawer.
canvasEnd() → {Rac.Point}
#
| source:
p5Drawer/Point.functions.js, line 50
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}
#
| source:
p5Drawer/Point.functions.js, line 20
Returns a Point at the current position of the pointer.
Added to instance.Point when Rac.P5Drawer is setup as
rac.drawer.