Class: Path

Path(points, optionsopt)

Class representing a path.

Constructor

new Path(points, optionsopt)

Parameters:
Name Type Attributes Description
points Array.<Vector>

An array of Vectors from which a Path is made.

options Object <optional>
Properties
Name Type Attributes Default Description
stroke string <optional>
"black"
strokeWidth number <optional>
0.1
fill string <optional>
"none"
isClosed boolean <optional>
false

A flag to optionally close the Path.

Source:

Classes

Path