Polygon

A procedurally generated engine2d line

virtuosity.engine2d.graphics.Polygon

Components


container

container of the render object



Parameter Type Description
container Container container of the render object
zIndex Number zIndex of the render object

color

color of the graphics object

Parameter Type Description Default
color Hex color of the graphics object 0xffffff

alpha

alpha of the graphics object

Parameter Type Description Default
alpha Number alpha of the graphics object 1

points

points of the graphics object

Parameter Type Description Default
points [Point] x coordinate of the graphics object 0