Class OCAColor

  • All Implemented Interfaces:
    java.awt.Paint, java.awt.Transparency, java.io.Serializable

    public class OCAColor
    extends java.awt.Color
    OCAColor is a single component color representation that is mostly used in AFP documents to represent text foreground color. See also OCAColorSpace.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OCAColor.OCAColorValue  
    • Field Summary

      • Fields inherited from class java.awt.Color

        black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
      • Fields inherited from interface java.awt.Transparency

        BITMASK, OPAQUE, TRANSLUCENT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float[] getColorComponents​(java.awt.color.ColorSpace cspace, float[] compArray)  
      java.awt.color.ColorSpace getColorSpace()  
      int getOCA()  
      • Methods inherited from class java.awt.Color

        brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getOCA

        public int getOCA()
      • getColorSpace

        public java.awt.color.ColorSpace getColorSpace()
        Overrides:
        getColorSpace in class java.awt.Color
      • getColorComponents

        public float[] getColorComponents​(java.awt.color.ColorSpace cspace,
                                          float[] compArray)
        Overrides:
        getColorComponents in class java.awt.Color