◆ Builder() [1/2]
◆ Builder() [2/2]
◆ addVertices() [1/2]
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.addVertices |
( |
@NonNull final GeoCoordinates... |
nextVertex | ) |
|
Adds the GeoCoordinate at the end of the border of the MapPolygon.
- Parameters
-
◆ addVertices() [2/2]
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.addVertices |
( |
@NonNull final List< GeoCoordinates > |
vertices | ) |
|
Adds GeoCoordinates at the end of the border line of the MapPolygon.
- Parameters
-
vertices | List of GeoCoordinates that defines additional part of the Polygon. |
◆ setBorderColor()
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.setBorderColor |
( |
final int |
color | ) |
|
Sets the border color.
- Parameters
-
color | The ARGB integer color value. |
◆ setBorderRadius()
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.setBorderRadius |
( |
final float |
radius | ) |
|
Sets the border radius, in range <0.0 - 1.0>.
- Parameters
-
radius | Desired radius of border part of the MapPolygon |
◆ setCenterColor()
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.setCenterColor |
( |
final int |
color | ) |
|
Sets the center color.
- Parameters
-
color | The ARGB integer color value. |
◆ setCenterRadius()
Builder com.sygic.sdk.map.object.data.PolygonData.Builder.setCenterRadius |
( |
final float |
radius | ) |
|
Sets the center radius, in range <0.0 - 1.0>.
- Parameters
-
radius | Desired radius of center part of the MapPolygon |
The documentation for this class was generated from the following file: