Parameters
- polygon
- The polygon to slice.
- numParts
- The number of equal area parts to slice the polygon into. Must be greater than 1.
- angle
- Angle (in radians) to rotate the polygon before it is sliced. The angle is measured from the positive X-axis in a counterclockwise direction.
- sliceType
- Controls how the polygon is sliced; into strips or blocks.
Return Value
Returns the polygons. If none are created, then the collection returned is empty.