Class ColorTypes.ABGR64

Enclosing class:
ColorTypes

public static final class ColorTypes.ABGR64 extends LongColorType.BlendingLongColorType
Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, blue, green, and red.
  • Method Details

    • red

      @Contract(pure=true) public int red(long color)
    • green

      @Contract(pure=true) public int green(long color)
    • blue

      @Contract(pure=true) public int blue(long color)
    • toARGB64

      public long toARGB64(long color)
      Specified by:
      toARGB64 in class LongColorType
      Returns:
      the color, encoded as ColorTypes.ARGB64
    • fromARGB64

      public long fromARGB64(long color)
      Specified by:
      fromARGB64 in class LongColorType
      Returns:
      the provided ColorTypes.ARGB64 color, encoded as this color type