Interface ColorValue

All Superinterfaces:
Subscribable, Supplier<Color>, Value<ColorValueChangedCallback>
All Known Subinterfaces:
SettableColorValue

public interface ColorValue extends Value<ColorValueChangedCallback>, Supplier<Color>
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Gets the alpha component of the current value.
    float
    Gets the blue component of the current value.
    default Color
    get()
     
    float
    Gets the green component of the current value.
    float
    red()
    Gets the red component of the current value.

    Methods inherited from interface com.bitwig.extension.controller.api.Subscribable

    isSubscribed, setIsSubscribed, subscribe, unsubscribe

    Methods inherited from interface com.bitwig.extension.controller.api.Value

    addValueObserver, markInterested
  • Method Details

    • red

      float red()
      Gets the red component of the current value.
      Since:
      API version 2
    • green

      float green()
      Gets the green component of the current value.
      Since:
      API version 2
    • blue

      float blue()
      Gets the blue component of the current value.
      Since:
      API version 2
    • alpha

      float alpha()
      Gets the alpha component of the current value.
      Since:
      API version 5
    • get

      default Color get()
      Specified by:
      get in interface Supplier<Color>