StrokeStyle.Builder

  • StrokeStyle.Builder is used to create custom StrokeStyle objects for map elements.

  • It provides methods to define the style of strokes, such as setting a stamp style.

  • The build() method creates a StrokeStyle instance based on the builder's configuration.

  • The stamp() method allows customization of the pattern used for the stroke's appearance.

public static final class StrokeStyle.Builder extends Object

Builder for StrokeStyle.

Public Method Summary

StrokeStyle
build()
Builds a StrokeStyle object.
StrokeStyle.Builder
stamp(StampStyle stampStyle)
Sets the stamp style of this stroke style.

Inherited Method Summary

Public Methods

public StrokeStyle build ()

Builds a StrokeStyle object.

public StrokeStyle.Builder stamp (StampStyle stampStyle)

Sets the stamp style of this stroke style.

Parameters
stampStyle style of the stamp.
Returns
  • the builder with updated stamp style.