The instance.Angle function contains convenience methods and members
for Rac.Angle objects setup with the owning Rac instance.
- Source:
Members
eighth :Rac.Point
#
| source:
drawable/instance.Angle.js, line 88
An Angle with turn 1/8.
Also named as: bottomRight, br, se.
half :Rac.Point
#
| source:
drawable/instance.Angle.js, line 64
An Angle with turn 1/2.
Also named as: left, l, west, w, inverse.
neighth :Rac.Point
#
| source:
drawable/instance.Angle.js, line 99
An Angle with turn 7/8, negative angle of
eighth.
Also named as: topRight, tr, ne.
north :Rac.Point
#
| source:
drawable/instance.Angle.js, line 121
An Angle with turn 3/4.
Also named as: up, u, top, t.
quarter :Rac.Point
#
| source:
drawable/instance.Angle.js, line 76
An Angle with turn 1/4.
Also named as: down, d, bottom, b, south, s, square.
zero :Rac.Point
#
| source:
drawable/instance.Angle.js, line 53
An Angle with turn 0.
Also named as: right, r, east, e.
Methods
from(something) → {Rac.Angle}
#
| source:
drawable/instance.Angle.js, line 16
Returns an Angle derived from something.
CallsRac.Angle.from using this.
- See:
Parameters:
| Name | Type | Description |
|---|---|---|
something |
number
|
Rac.Angle
|
Rac.Ray
|
Rac.Segment
|
An object to
derive an |
fromRadians(radians) → {Rac.Angle}
#
| source:
drawable/instance.Angle.js, line 35
Returns an Angle derived from radians.
Calls Rac.Angle.fromRadians using this.
Parameters:
| Name | Type | Description |
|---|---|---|
radians |
number
|
The measure of the angle, in radians |