StrokeStyle.Builder

  • StrokeStyle.Builder is used to build a StrokeStyle object.

  • The build() method creates a StrokeStyle object.

  • The stamp(StampStyle stampStyle) method sets the stamp style of the stroke.

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.