◆ Builder() [1/2]
◆ Builder() [2/2]
◆ addVertices() [1/2]
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.addVertices |
( |
@NonNull final GeoCoordinates... |
nextVertex | ) |
|
Adds the GeoCoordinate at the end of the path of the MapPolyline.
- Parameters
-
nextVertex | GeoCoordinates that defines next vertex(s) of the Polyline path. |
◆ addVertices() [2/2]
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.addVertices |
( |
@NonNull final List< GeoCoordinates > |
vertices | ) |
|
Adds GeoCoordinates at the end of the path of the MapPolyline.
- Parameters
-
vertices | List of GeoCoordinates that defines additional part of the Polyline path. |
◆ setBorders()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setBorders |
( |
final boolean |
borders | ) |
|
Enables/Disables MapPolyline to be rendered with antialiased borders.
◆ setCornerRadius()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setCornerRadius |
( |
final float |
cornerRadius | ) |
|
Sets the dash corner radius, in range [0, lineWidth / 2], for the primary dash of the MapPolyline.
- Parameters
-
cornerRadius | Desired corner scale of the dash. |
◆ setDashed()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setDashed |
( |
final boolean |
dashed | ) |
|
Sets the appearance of this MapPolyline as either a dashed or solid line.
◆ setDashLength()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setDashLength |
( |
final float |
dashLength | ) |
|
Sets the dash length, for the MapPolyline.
- Parameters
-
dashLength | Desired length of the primary dash. |
◆ setLineColor()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setLineColor |
( |
final int |
lineColor | ) |
|
Sets the line color.
- Parameters
-
lineColor | The ARGB integer color value. |
◆ setLineWidth()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setLineWidth |
( |
final float |
lineWidth | ) |
|
Returns the line width, in pixels.
- Parameters
-
lineWidth | Desired width of the line defining the MapPolyline |
◆ setScalableWidth()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setScalableWidth |
( |
final boolean |
scalable | ) |
|
Sets the width of this MapPolyline to either scale or not scale with ground distance.
◆ setSecondaryColor()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setSecondaryColor |
( |
final int |
lineColor | ) |
|
Sets the secondary line color (used for dash/border).
- Parameters
-
lineColor | The ARGB integer color value. |
◆ setSecondaryDashLength()
Builder com.sygic.sdk.map.object.data.PolylineData.Builder.setSecondaryDashLength |
( |
final float |
dashSecondaryLength | ) |
|
Sets the secondary dash length, for the MapPolyline.
- Parameters
-
dashSecondaryLength | Desired length of the secondary dash. |
The documentation for this class was generated from the following file: