public abstract static class GeoShapeStyle.Builder<StyleBuilder extends GeoShapeStyle.Builder> extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract StyleBuilder |
setColor(AnnotationColor color)
Set the color of the
GeoShapeStyle |
abstract StyleBuilder |
setJoinStyle(GeoShapeStyle.JoinStyle joinStyle)
Set the
GeoShapeStyle 's join style |
abstract StyleBuilder |
setMiterLimit(int miterLimit)
Set the miter limit of the JoinStyle.MITER
|
abstract StyleBuilder |
setWidth(float width)
Set the width of the
GeoShapeStyle |
abstract StyleBuilder |
setWidthUnits(GeoShapeStyle.WidthUnits widthUnits)
Set the
GeoShapeStyle 's width units |
public abstract StyleBuilder setColor(AnnotationColor color)
GeoShapeStyle
color
- The color of the GeoShapeStyle
, in aRGB format.GeoShapeStyle.Builder
instancepublic abstract StyleBuilder setWidth(float width)
GeoShapeStyle
width
- The width of the stroke, in pixels.GeoShapeStyle.Builder
instancepublic abstract StyleBuilder setWidthUnits(GeoShapeStyle.WidthUnits widthUnits)
GeoShapeStyle
's width unitswidthUnits
- the width unitGeoShapeStyle.Builder
instancepublic abstract StyleBuilder setJoinStyle(GeoShapeStyle.JoinStyle joinStyle)
GeoShapeStyle
's join stylejoinStyle
- the join styleGeoShapeStyle.Builder
instancepublic abstract StyleBuilder setMiterLimit(int miterLimit)
miterLimit
- the miter limitGeoShapeStyle.Builder
instance