Path

Class representing a path.

Constructor

new Path(points, optionsopt)

Parameters:
NameTypeAttributesDescription
pointsArray.<Vector>

An array of Vectors from which a Path is made.

optionsObject<optional>
Properties
NameTypeAttributesDefaultDescription
strokestring<optional>
"black"
strokeWidthnumber<optional>
0.1
fillstring<optional>
"none"
isClosedboolean<optional>
false

A flag to optionally close the Path.

Classes

Path