Class OCAColorSpace

java.lang.Object
java.awt.color.ColorSpace
org.apache.fop.util.OCAColorSpace
All Implemented Interfaces:
Serializable

public class OCAColorSpace extends ColorSpace
The OCA color space is a subset of RGB that includes a limited set of colors. The color value is specified with one unsigned binary component that specifies a named color using a two-byte value from the Standard OCA Color Value table.
See Also:
  • Constructor Details

    • OCAColorSpace

      protected OCAColorSpace()
  • Method Details

    • fromCIEXYZ

      public float[] fromCIEXYZ(float[] colorvalue)
      Specified by:
      fromCIEXYZ in class ColorSpace
    • fromRGB

      public float[] fromRGB(float[] rgbvalue)
      Specified by:
      fromRGB in class ColorSpace
    • toCIEXYZ

      public float[] toCIEXYZ(float[] colorvalue)
      Specified by:
      toCIEXYZ in class ColorSpace
    • toRGB

      public float[] toRGB(float[] colorvalue)
      Specified by:
      toRGB in class ColorSpace