Interface ConstColor

All Known Implementing Classes:
Color

public interface ConstColor
Read-only access to a Color. (native type: const Color)
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Return the 4th (alpha or opacity) component.
    byte
    Return the 3th (blue) component.
    byte
    Return the 2nd (green) component.
    byte
    Return the first (red) component.
    int
    Return the integer value.
  • Method Details

    • getA

      byte getA()
      Return the 4th (alpha or opacity) component. The color is unaffected.
      Returns:
      the component value
    • getB

      byte getB()
      Return the 3th (blue) component. The color is unaffected.
      Returns:
      the component value
    • getG

      byte getG()
      Return the 2nd (green) component. The color is unaffected.
      Returns:
      the component value
    • getR

      byte getR()
      Return the first (red) component. The color is unaffected.
      Returns:
      the component value
    • getUInt32

      int getUInt32()
      Return the integer value. The color is unaffected.
      Returns:
      the 32-bit value