Page Summary
-
PinConfig.Builderis used to create instances ofPinConfigfor customizing map pins. -
It provides methods to set the background color, border color, and glyph of the pin.
-
The
build()method is used to create the finalPinConfigobject after customization. -
This class inherits methods like
equals,hashCode, andtoStringfromjava.lang.Object.
A builder for creating PinConfig instances.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| PinConfig | |
| PinConfig.Builder |
setBackgroundColor(int backgroundColor)
Sets the background color of the
PinConfig. |
| PinConfig.Builder |
setBorderColor(int borderColor)
Sets the border color of the
PinConfig. |
| PinConfig.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public PinConfig.Builder setBackgroundColor (int backgroundColor)
Sets the background color of the PinConfig.
Parameters
| backgroundColor |
|---|
public PinConfig.Builder setBorderColor (int borderColor)
Sets the border color of the PinConfig.
Parameters
| borderColor |
|---|
public PinConfig.Builder setGlyph (PinConfig.Glyph glyph)
Sets the PinConfig.Glyph of the PinConfig.
Parameters
| glyph |
|---|