Class GrayBlend.Builder

java.lang.Object
dev.wyck.environment.attribute.modifier.GrayBlend.Builder
Enclosing interface:
GrayBlend

@AsOf("3.2.0") public static final class GrayBlend.Builder extends Object
Builder for GrayBlend.
Since:
3.2.0
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(GrayBlend grayBlend)
  • Method Details

    • brightness

      @AsOf("3.2.0") public GrayBlend.Builder brightness(float brightness)
      Sets the brightness of the gray color.
      Parameters:
      brightness - the brightness of the gray color
      Returns:
      this builder
      Since:
      3.2.0
    • factor

      @AsOf("3.2.0") public GrayBlend.Builder factor(float factor)
      Sets the factor of the gray color.
      Parameters:
      factor - the factor of the gray color
      Returns:
      this builder
      Since:
      3.2.0
    • build

      @AsOf("3.2.0") public GrayBlend build()
      Builds the gray blend.
      Returns:
      the gray blend
      Since:
      3.2.0