FeatureStyle.Builder

public static final classFeatureStyle.BuilderextendsObject

A builder that helps configure an instance ofFeatureStyle.

Public Constructor Summary

Public Method Summary

FeatureStyle
FeatureStyle.Builder
fillColor(int fillColor)
Sets the fillColor of thisFeatureStyle in ARGB format as defined by theColor class.
FeatureStyle.Builder
pointRadius(float pointRadius)
Sets the pointRadius between 0 and 128 of thisFeatureStyle in screen pixels.
FeatureStyle.Builder
strokeColor(int strokeColor)
Sets the strokeColor of thisFeatureStyle in ARGB format as defined by theColor class.
FeatureStyle.Builder
strokeWidth(float strokeWidth)
Sets the strokeWidth of thisFeatureStyle in screen pixels.

Inherited Method Summary

Public Constructors

publicBuilder()

Public Methods

publicFeatureStyle build()

publicFeatureStyle.Builder fillColor(int fillColor)

Sets the fillColor of thisFeatureStyle in ARGB format as defined by theColor class.

publicFeatureStyle.Builder pointRadius(float pointRadius)

Sets the pointRadius between 0 and 128 of thisFeatureStyle in screen pixels. Only applies to point geometries.

publicFeatureStyle.Builder strokeColor(int strokeColor)

Sets the strokeColor of thisFeatureStyle in ARGB format as defined by theColor class.

publicFeatureStyle.Builder strokeWidth(float strokeWidth)

Sets the strokeWidth of thisFeatureStyle in screen pixels. The default value is2.