Package org.apache.fop.util
Class OCAColor
java.lang.Object
java.awt.Color
org.apache.fop.util.OCAColor
- All Implemented Interfaces:
Paint,Transparency,Serializable
OCAColor is a single component color representation that is mostly used
in AFP documents to represent text foreground color.
See also
OCAColorSpace.- See Also:
-
Nested Class Summary
Nested Classes -
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, YELLOWFields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]getColorComponents(ColorSpace cspace, float[] compArray) intgetOCA()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
-
Constructor Details
-
OCAColor
-
-
Method Details
-
getOCA
public int getOCA() -
getColorSpace
- Overrides:
getColorSpacein classColor
-
getColorComponents
- Overrides:
getColorComponentsin classColor
-