Creates a star shaped Path Item.
The largest of radius1 and radius2 will be the outer
radius of the star. The smallest of radius1 and radius2 will be the inner
radius.
Sample code:
var center = new Point(100, 100);
var points = 6;
var innerRadius = 20;
var outerRadius = 50;
var path = new Path.Star(center, points, innerRadius, outerRadius);
Returns:
-
Path
— the newly created path