AI-generated Key Takeaways
-
StrokeStyle.Builderis used to create customStrokeStyleobjects for map elements. -
It provides methods to define the style of strokes, such as setting a stamp style.
-
The
build()method creates aStrokeStyleinstance 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 |
Inherited Method Summary
Public Methods
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.