Class: Shape

Shape

Shape This is an abstract base class for shapes. The shapes are stored in an array format as a list of Vectors. This allows for easy manipulation and access to the points that make up the shape.

new Shape(verticies)

Creates an instance of Shape.

Name Type Description
verticies Array.<Vector> optional The shapes vector verticies