star
Create a star shape.
g.star({x: 0, y: 0}, 5, 100, 20);
Parameters
position
: The center point of the star.points
: The amount of points in the star.outer
: The outer diameter of the star.inner
: The inner diameter of the star.
Create a star shape.
g.star({x: 0, y: 0}, 5, 100, 20);
position
: The center point of the star.points
: The amount of points in the star.outer
: The outer diameter of the star.inner
: The inner diameter of the star.