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.Builder fillColor (int fillColor)
Sets the fillColor of this FeatureStyle
in ARGB format as defined by the Color
class.
Parameters
fillColor |
---|
public FeatureStyle.Builder pointRadius (float pointRadius)
Sets the pointRadius between 0 and 128 of this FeatureStyle
in screen pixels. Only
applies to point geometries.
Parameters
pointRadius |
---|
public FeatureStyle.Builder strokeColor (int strokeColor)
Sets the strokeColor of this FeatureStyle
in ARGB format as defined by the Color
class.
Parameters
strokeColor |
---|
public FeatureStyle.Builder strokeWidth (float strokeWidth)
Sets the strokeWidth of this FeatureStyle
in screen pixels. The default value is
2
.
Parameters
strokeWidth |
---|