Class ColourComponent


  • public class ColourComponent
    extends java.lang.Object
    Colour component containing information about a colour.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float[] rgba  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rgba

        public float[] rgba
    • Constructor Detail

      • ColourComponent

        public ColourComponent()
      • ColourComponent

        public ColourComponent​(float r,
                               float g,
                               float b,
                               float a)
      • ColourComponent

        public ColourComponent​(float r,
                               float g,
                               float b)
      • ColourComponent

        public ColourComponent​(java.lang.String color)