get

operator fun get(index: Int): ClippingPolygon(source)

Returns the clipping polygon in the collection at the specified index. Indices are zero-based and increase as polygons are added. Removing a polygon polygon all polygons after it to the left, changing their indices. This function is commonly used with ClippingPolygonCollection.length to iterate over all the polygons in the collection.

Return

The ClippingPolygon at the specified index.

Parameters

index

The zero-based index of the polygon.

See also