A class to define a shape via user defined coordinates.
PIXI
false after moveTo, true after closePath. In all other cases it is true.
false
true
closePath
An array of the points of this polygon.
Readonly
The type of the object, mainly used to avoid instanceof checks
instanceof
PIXI.SHAPES.POLY Copy
PIXI.SHAPES.POLY
PIXI.SHAPES
Creates a clone of this polygon.
Checks whether the x and y coordinates passed to this function are contained within this polygon.
The X coordinate of the point to test.
The Y coordinate of the point to test.
A class to define a shape via user defined coordinates.
Memberof
PIXI