class
Path
- Properties
- segments
- Methods
- constructor, closePath, getBoundingBox, lineTo, moveTo, translate, fromPoints
Properties
- segments
- Type:
-
PathSegment[]
Methods
- constructor(x, y)
- Parameters:
-
-
number
x -
number
y
-
- closePath()
- Return type:
Path
- getBoundingBox()
- Return type:
Bounds
- lineTo(x, y)
- Parameters:
-
-
number
x -
number
y
-
- Return type:
Path
- moveTo(x, y)
- Parameters:
-
-
number
x -
number
y
-
- Return type:
Path
- translate(x, y)
- Parameters:
-
-
number
x -
number
y
-
- Return type:
Path
- fromPoints(points)