Class AlphaValue.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(AlphaValue alphaValue)
  • Method Details

    • value

      @AsOf("3.2.0") public AlphaValue.Builder value(float value)
      Sets the value of the AlphaValue.
      Parameters:
      value - the value of the AlphaValue
      Returns:
      this builder
      Since:
      3.2.0
    • alpha

      @AsOf("3.2.0") public AlphaValue.Builder alpha(float alpha)
      Sets the alpha value of the AlphaValue.
      Parameters:
      alpha - the alpha value of the AlphaValue
      Returns:
      this builder
      Since:
      3.2.0
    • build

      @AsOf("3.2.0") public AlphaValue build()
      Builds the AlphaValue.
      Returns:
      the built AlphaValue
      Since:
      3.2.0