public static final class
FeatureStyle.Builder
extends Object
A builder that helps configure an instance of FeatureStyle
.
Public Constructor Summary
Builder()
|
Public Method Summary
FeatureStyle |
build()
|
FeatureStyle.Builder | |
FeatureStyle.Builder |
strokeColor(int strokeColor)
|
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 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 |
---|