Class Polygon
-
-
Field Summary
Fields Modifier and Type Field Description private final MapObject.Typetypeprivate List<LatLng>pointsprivate List<List<LatLng>>holesprivate FloatstrokeWidthprivate IntegerstrokeColorprivate IntegerfillColorprivate BooleanisClickableprivate BooleanisGeodesicprivate BooleanisVisibleprivate FloatzIndexprivate IntegerstrokeJointTypeprivate List<PatternItem>strokePattern
-
Method Summary
Modifier and Type Method Description MapObject.TypegetType()Gets the type of the map object. final List<LatLng>getPoints()final UnitsetPoints(List<LatLng> points)final List<List<LatLng>>getHoles()final UnitsetHoles(List<List<LatLng>> holes)final FloatgetStrokeWidth()final UnitsetStrokeWidth(Float strokeWidth)final IntegergetStrokeColor()final UnitsetStrokeColor(Integer strokeColor)final IntegergetFillColor()final UnitsetFillColor(Integer fillColor)final BooleanisClickable()final UnitsetClickable(Boolean isClickable)final BooleanisGeodesic()final UnitsetGeodesic(Boolean isGeodesic)BooleanisVisible()Gets and sets the visibility of the map object. UnitsetVisible(Boolean isVisible)Gets and sets the visibility of the map object. FloatgetZIndex()Gets and sets the z-index of the map object. UnitsetZIndex(Float zIndex)Gets and sets the z-index of the map object. final IntegergetStrokeJointType()final UnitsetStrokeJointType(Integer strokeJointType)final List<PatternItem>getStrokePattern()final UnitsetStrokePattern(List<PatternItem> strokePattern)final UnitaddHole(List<LatLng> hole)-
-
Method Detail
-
getType
MapObject.Type getType()
Gets the type of the map object.
- Returns:
The type of the map object.
-
getStrokeWidth
final Float getStrokeWidth()
-
setStrokeWidth
final Unit setStrokeWidth(Float strokeWidth)
-
getStrokeColor
final Integer getStrokeColor()
-
setStrokeColor
final Unit setStrokeColor(Integer strokeColor)
-
getFillColor
final Integer getFillColor()
-
setFillColor
final Unit setFillColor(Integer fillColor)
-
isClickable
final Boolean isClickable()
-
setClickable
final Unit setClickable(Boolean isClickable)
-
isGeodesic
final Boolean isGeodesic()
-
setGeodesic
final Unit setGeodesic(Boolean isGeodesic)
-
setVisible
Unit setVisible(Boolean isVisible)
Gets and sets the visibility of the map object.
-
getStrokeJointType
final Integer getStrokeJointType()
-
setStrokeJointType
final Unit setStrokeJointType(Integer strokeJointType)
-
getStrokePattern
final List<PatternItem> getStrokePattern()
-
setStrokePattern
final Unit setStrokePattern(List<PatternItem> strokePattern)
-
-
-
-