Interface AlphaValue

All Superinterfaces:
Wrapper

@NullMarked @AsOf("3.2.0") public interface AlphaValue extends Wrapper
The argument of AttributeOperation.ALPHA_BLEND on a float attribute.
Since:
3.2.0
  • Method Details

    • value

      @AsOf("3.2.0") float value()
      The value
      Returns:
      the value
      Since:
      3.2.0
    • alpha

      @AsOf("3.2.0") float alpha()
      The alpha value between 0.0 and 1.0
      Returns:
      the alpha value
      Since:
      3.2.0
    • toBuilder

      @AsOf("3.2.0") default AlphaValue.Builder toBuilder()
      Converts it to a builder.
      Returns:
      a new builder
      Since:
      3.2.0
    • of

      @AsOf("3.2.0") static AlphaValue of(float value, float alpha)
      Creates a new AlphaValue
      Parameters:
      value - the value
      alpha - the alpha value between 0.0 and 1.0
      Returns:
      a new AlphaValue
      Since:
      3.2.0
    • builder

      @AsOf("3.2.0") static AlphaValue.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.2.0