Polygon
Description
class
Polygon
Methods
static Rectangle(xmin, ymin, xmax, ymax)
→
Vector2
[]
Parameters
Name
Type
Description
xmin
number
ymin
number
xmax
number
static Circle(radius, cx, cy, numberOfSides)
→
Vector2
[]
Parameters
Name
Type
Description
radius
number
optional
cx
number
optional
cy
number
static Parse(input)
→
Vector2
[]
Parameters
Name
Type
Description
input
string
static StartingAt(x, y)
→
Path2
Parameters
Name
Type
Description
x
number
y
number