Class ColorConstants


  • public class ColorConstants
    extends java.lang.Object
    Class containing predefined DeviceRgb colors. Color space specific classes should be used for the advanced handling of colors. The most common ones are DeviceGray, DeviceCmyk and DeviceRgb.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Color BLACK
      Predefined black DeviceRgb color
      static Color BLUE
      Predefined blue DeviceRgb color
      static Color CYAN
      Predefined cyan DeviceRgb color
      static Color DARK_GRAY
      Predefined dark gray DeviceRgb color
      static Color GRAY
      Predefined gray DeviceRgb color
      static Color GREEN
      Predefined green DeviceRgb color
      static Color LIGHT_GRAY
      Predefined light gray DeviceRgb color
      static Color MAGENTA
      Predefined magenta DeviceRgb color
      static Color ORANGE
      Predefined orange DeviceRgb color
      static Color PINK
      Predefined pink DeviceRgb color
      static Color RED
      Predefined red DeviceRgb color
      static Color WHITE
      Predefined white DeviceRgb color
      static Color YELLOW
      Predefined yellow DeviceRgb color
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • BLACK

        public static final Color BLACK
        Predefined black DeviceRgb color
      • BLUE

        public static final Color BLUE
        Predefined blue DeviceRgb color
      • CYAN

        public static final Color CYAN
        Predefined cyan DeviceRgb color
      • DARK_GRAY

        public static final Color DARK_GRAY
        Predefined dark gray DeviceRgb color
      • GRAY

        public static final Color GRAY
        Predefined gray DeviceRgb color
      • GREEN

        public static final Color GREEN
        Predefined green DeviceRgb color
      • LIGHT_GRAY

        public static final Color LIGHT_GRAY
        Predefined light gray DeviceRgb color
      • MAGENTA

        public static final Color MAGENTA
        Predefined magenta DeviceRgb color
      • ORANGE

        public static final Color ORANGE
        Predefined orange DeviceRgb color
      • PINK

        public static final Color PINK
        Predefined pink DeviceRgb color
      • RED

        public static final Color RED
        Predefined red DeviceRgb color
      • WHITE

        public static final Color WHITE
        Predefined white DeviceRgb color
      • YELLOW

        public static final Color YELLOW
        Predefined yellow DeviceRgb color
    • Constructor Detail

      • ColorConstants

        public ColorConstants()