P
olypoint
Docs
Files
Theatre
Editor
xybind
Docs
xybind.js
<script src="./point_src/xybind"></script>
parse
Meta Data
filepath_exists
True
path
xybind
filepath
xybind.js
clean_files
()
Point
PointList
Stage
Lines
Line
Curve
Angle
Text
Hit Me
Collisions
Constraints
Box Of
Clustering
Gears
Gravity
Asteroids
Methods
{{key}}
VariableDeclaration
let
defaultRad
Works.
ClassDeclaration
class
XYBindMap
extends
None
class comments:
console.log('primary drag')
constructor
constructor
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
step
(
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
updateFunction
(
target
,
parent
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
childToParentUpdate
(
target
,
parent
,
opts
,
d
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
console.log('primary drag')
method
lockedPosition
(
target
,
parent
,
opts
,
d
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
position is locked (reverse)
method
relockingPosition
(
target
,
parent
,
opts
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
Dragging a relative control point.
method
smoothUpdateFunction
(
target
,
parent
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
If _bindingSettings are defined, the lock step will pre-lock the control point.
method
pairTest
(
vChildren
,
kOwner
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
pairTestSingle
(
vChild
,
kOwner
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
Iterate the bindmap, ensuring the XY of a pair match Propagate the changed value (dirty) to the unchanges value.
method
connect
(
parent
,
child
,
childPositionSettings
=
{}
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
child.parentWheel = parent
method
safeMapAppend
(
bindMap
,
parent
,
child
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
VariableDeclaration
let
globalXYBind
=
new
XYBindMap
(
this
)
ExpressionStatement
:
dict_keys(['type', 'expression', 'pos'])
ClassDeclaration
class
PointXYBind
extends
None
class comments:
constructor
constructor
(
point
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
connectTo
(
other
,
opts
=
{}
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
follow
(
other
,
opts
=
{}
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
ExpressionStatement
:
dict_keys(['type', 'expression', 'pos'])
ExpressionStatement
:
dict_keys(['type', 'expression', 'pos'])
{{ title.kind }}
{{ title.textContent }}