# Two.Star

Extends: Two.Path

# Constructor

Argument Description
x The x position of the star.
y The y position of the star.
innerRadius The inner radius value of the star.
outerRadius The outer radius value of the star.
sides The number of sides used to construct the star.

# Properties

A list of properties that are on every Two.Star.

# innerRadius

The size of the inner radius of the star.

# outerRadius

The size of the outer radius of the star.

# sides

The amount of sides the star has.

# clone

Returns: Two.Star

Argument Description
parent The parent group or scene to add the clone to.

Create a new instance of Two.Star with the same properties of the current path.

# toObject

Returns: Object

Return a JSON compatible plain object that represents the path.