PinConfig.Builder

  • PinConfig.Builder is used to create instances of PinConfig for 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 final PinConfig object after customization.

  • This class inherits methods like equals, hashCode, and toString from java.lang.Object.

public static class PinConfig.Builder extends Object

A builder for creating PinConfig instances.

Public Constructor Summary

Public Method Summary

PinConfig
build()
Builds a 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 build ()

Builds a PinConfig.

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