public static AddRegularPolygon ( Primitive width, Primitive height, Primitive corners, Primitive radius ) : Primitive | ||
width | Primitive | The width of the shape. |
height | Primitive | The height of the shape. |
corners | Primitive | The number of corners. |
radius | Primitive | A relative radius for star shapes (e.g. 1 for pentagon, 0.5 for 5 pointed star). |
return | Primitive |