Class StaticMapPolyline
java.lang.Object
com.cercalia.sdk.model.staticmaps.StaticMapPolyline
- All Implemented Interfaces:
StaticMapShape
Represents a polyline shape to be rendered on a static map.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StaticMapPolyline.Builderbuilder()static @NotNull StaticMapPolyline.Builderbuilder(@NotNull List<Coordinate> coordinates) @NotNull Stringformat()Formats the shape for Cercalia API shape parameter.@NotNull List<Coordinate>@NotNull RGBAColor@NotNull RGBAColorint@NotNull StaticMapShapeTypegetType()
-
Method Details
-
getType
- Specified by:
getTypein interfaceStaticMapShape
-
getOutlineColor
- Specified by:
getOutlineColorin interfaceStaticMapShape
-
getOutlineSize
public int getOutlineSize()- Specified by:
getOutlineSizein interfaceStaticMapShape
-
getFillColor
- Specified by:
getFillColorin interfaceStaticMapShape
-
getCoordinates
- Returns:
- List of coordinates.
-
format
Description copied from interface:StaticMapShapeFormats the shape for Cercalia API shape parameter.- Specified by:
formatin interfaceStaticMapShape
-
builder
- Returns:
- A new builder for
StaticMapPolyline.
-
builder
@NotNull public static @NotNull StaticMapPolyline.Builder builder(@NotNull @NotNull List<Coordinate> coordinates) - Parameters:
coordinates- Initial list of coordinates.- Returns:
- A new builder.
-