-
public final class PolygonKt
-
-
Method Summary
Modifier and Type Method Description final static UnitPolygon(List<LatLng> points, Boolean clickable, Color fillColor, Boolean geodesic, List<List<LatLng>> holes, Color strokeColor, Integer strokeJointType, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Polygon, Unit> onClick)A composable for a polygon on the map. -
-
Method Detail
-
Polygon
@Composable() final static Unit Polygon(List<LatLng> points, Boolean clickable, Color fillColor, Boolean geodesic, List<List<LatLng>> holes, Color strokeColor, Integer strokeJointType, List<PatternItem> strokePattern, Float strokeWidth, Object tag, Boolean visible, Float zIndex, Function1<Polygon, Unit> onClick)
A composable for a polygon on the map.
- Parameters:
points- the points comprising the vertices of the polygonclickable- boolean indicating if the polygon is clickable or notfillColor- the fill color of the polygongeodesic- specifies whether to draw each segment as a geodesicholes- the holes for the polygonstrokeColor- the stroke color of the polygonstrokeJointType- the joint type for all vertices of the polygon's outlinestrokePattern- the stroke pattern for the polygon's outlinestrokeWidth- specifies the polygon's stroke width, in display pixelstag- optional tag to associate wiht the polygonvisible- the visibility of the polygonzIndex- the z-index of the polygononClick- a lambda invoked when the polygon is clicked
-
-
-
-