OmhPolygonOptions
class OmhPolygonOptions(var outline: List<OmhCoordinate> = listOf(), var clickable: Boolean? = null, var fillColor: Int? = null, var holes: List<List<OmhCoordinate>>? = null, var isVisible: Boolean? = null, var strokeColor: Int? = null, var strokeJointType: Int? = null, var strokePattern: List<OmhPatternItem>? = null, var strokeWidth: Float? = null, var zIndex: Float? = null) : Parcelable
OmhPolygonOptions is a class that represents the options for a polygon on a map. A polygon is a shape with multiple edges and fill on a map. You can customize the appearance of the polygon by changing its properties.
Constructors
Link copied to clipboard
constructor(outline: List<OmhCoordinate> = listOf(), clickable: Boolean? = null, fillColor: Int? = null, holes: List<List<OmhCoordinate>>? = null, isVisible: Boolean? = null, strokeColor: Int? = null, strokeJointType: Int? = null, strokePattern: List<OmhPatternItem>? = null, strokeWidth: Float? = null, zIndex: Float? = null)
Properties
Link copied to clipboard
The holes in the polygon.
Link copied to clipboard
The points that make up the polygon.
Link copied to clipboard
The color of the polygon's stroke.
Link copied to clipboard
The joint type of the polygon's stroke.
Link copied to clipboard
The pattern of the polygon's stroke.
Link copied to clipboard
The width of the polygon's stroke.