A builder that helps configure an instance of FeatureStyle
.
Public Constructor Summary
Builder()
|
Public Method Summary
FeatureStyle |
build()
|
FeatureStyle.Builder |
fillColor(int fillColor)
Sets the fillColor of this
FeatureStyle
in ARGB format as defined by the Color
class.
|
FeatureStyle.Builder |
pointRadius(float pointRadius)
Sets the pointRadius between 0 and 128 of this
FeatureStyle
in screen pixels.
|
FeatureStyle.Builder |
strokeColor(int strokeColor)
Sets the strokeColor of this
FeatureStyle
in ARGB format as defined by the Color
class.
|
FeatureStyle.Builder |
strokeWidth(float strokeWidth)
Sets the strokeWidth of this
FeatureStyle
in screen pixels.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public FeatureStyle build ()
public FeatureStyle.Builder fillColor (int fillColor)
Sets the fillColor of this FeatureStyle
in ARGB format as defined by the Color
class.
public FeatureStyle.Builder pointRadius (float pointRadius)
Sets the pointRadius between 0 and 128 of this FeatureStyle
in screen pixels. Only applies to point geometries.
public FeatureStyle.Builder strokeColor (int strokeColor)
Sets the strokeColor of this FeatureStyle
in ARGB format as defined by the Color
class.
public FeatureStyle.Builder strokeWidth (float strokeWidth)
Sets the strokeWidth of this FeatureStyle
in screen pixels. The default value is 2
.