P
olypoint
Docs
Files
Theatre
Editor
relative-xy.js
Docs
relative-xy.js
<script src="./point_src/relative-xy.js"></script>
parse
Meta Data
filepath_exists
True
path
relative-xy.js
filepath
relative-xy.js
clean_files
()
Point
PointList
Stage
Lines
Line
Curve
Angle
Text
Hit Me
Collisions
Constraints
Box Of
Clustering
Gears
Gravity
Asteroids
Methods
{{key}}
ClassDeclaration
class
XY
extends
Array
class comments:
get
x
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
get
y
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
multiply
(
v
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
mul
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
ClassDeclaration
class
Relative
extends
None
class comments:
super(opts)
constructor
constructor
(
opts
=
{}
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
super(opts)
method
getRelativeData
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
x,y,rad,rot
get
rel
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
delete all values
set
rel
(
v
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
set
xy
(
other
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
Set a X Y pair on the entity, receiving from another XY, or Point
get
xy
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
return the XY
dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
{{ title.kind }}
{{ title.textContent }}