P
olypoint
Docs
Files
Theatre
Editor
line
Docs
line.js
<script src="./point_src/line"></script>
parse
Meta Data
filepath_exists
True
path
line
filepath
line.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
Line
extends
None
class comments:
new Line([90, 130], [200, 300], 420)
constructor
constructor
(
p1
,
p2
,
color
=
red
,
width
=
1
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
new Line([90, 130], [200, 300], 420)
method
create
(
p1
,
p2
,
color
=
red
,
width
=
1
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
render
(
ctx
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
start
(
ctx
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
draw
(
ctx
,
color
=
undefined
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
perform
(
ctx
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
method
close
(
ctx
)
from
class_name
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
{{ title.kind }}
{{ title.textContent }}