Package com.ribs.pdf
Interface ColorFactory
- 
- All Known Implementing Classes:
- DefaultFactories
 
 public interface ColorFactory
- 
- 
Field Summary
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.ColorcreateColor(java.awt.color.ColorSpace space, float[] values)Create a specific color in the colorspacejava.awt.color.ColorSpacecreateColorSpace(int type, java.lang.Object params)Create a colorspace object from one of the above space IDs.java.awt.CompositecreateComposite(java.awt.color.ColorSpace sourcespace, int blendMode, boolean alphaIsShape, float alpha)Create a Composite for the blend mode and alpha parameters.
 
- 
- 
- 
Field Detail- 
DeviceGrayColorspacestatic final int DeviceGrayColorspace Colorspace constants- See Also:
- Constant Field Values
 
 - 
CalibratedGrayColorspacestatic final int CalibratedGrayColorspace - See Also:
- Constant Field Values
 
 - 
DeviceRGBColorspacestatic final int DeviceRGBColorspace - See Also:
- Constant Field Values
 
 - 
CalibratedRGBColorspacestatic final int CalibratedRGBColorspace - See Also:
- Constant Field Values
 
 - 
DeviceCMYKColorspacestatic final int DeviceCMYKColorspace - See Also:
- Constant Field Values
 
 - 
LabColorspacestatic final int LabColorspace - See Also:
- Constant Field Values
 
 - 
IndexedColorspacestatic final int IndexedColorspace - See Also:
- Constant Field Values
 
 - 
ICCBasedColorspacestatic final int ICCBasedColorspace - See Also:
- Constant Field Values
 
 - 
SeparationColorspacestatic final int SeparationColorspace - See Also:
- Constant Field Values
 
 - 
DeviceNColorspacestatic final int DeviceNColorspace - See Also:
- Constant Field Values
 
 - 
PatternColorspacestatic final int PatternColorspace - See Also:
- Constant Field Values
 
 - 
UnknownColorspacestatic final int UnknownColorspace - See Also:
- Constant Field Values
 
 - 
AbsoluteColorimetricIntentstatic final int AbsoluteColorimetricIntent Rendering intents- See Also:
- Constant Field Values
 
 - 
RelativeColorimetricIntentstatic final int RelativeColorimetricIntent - See Also:
- Constant Field Values
 
 - 
SaturationIntentstatic final int SaturationIntent - See Also:
- Constant Field Values
 
 - 
PerceptualIntentstatic final int PerceptualIntent - See Also:
- Constant Field Values
 
 - 
NormalBlendModestatic final int NormalBlendMode Blend modes- See Also:
- Constant Field Values
 
 - 
MultiplyBlendModestatic final int MultiplyBlendMode - See Also:
- Constant Field Values
 
 - 
ScreenBlendModestatic final int ScreenBlendMode - See Also:
- Constant Field Values
 
 - 
OverlayBlendModestatic final int OverlayBlendMode - See Also:
- Constant Field Values
 
 - 
DarkenBlendModestatic final int DarkenBlendMode - See Also:
- Constant Field Values
 
 - 
LightenBlendModestatic final int LightenBlendMode - See Also:
- Constant Field Values
 
 - 
ColorDodgeBlendModestatic final int ColorDodgeBlendMode - See Also:
- Constant Field Values
 
 - 
ColorBurnBlendModestatic final int ColorBurnBlendMode - See Also:
- Constant Field Values
 
 - 
HardLightBlendModestatic final int HardLightBlendMode - See Also:
- Constant Field Values
 
 - 
SoftLightBlendModestatic final int SoftLightBlendMode - See Also:
- Constant Field Values
 
 - 
DifferenceBlendModestatic final int DifferenceBlendMode - See Also:
- Constant Field Values
 
 - 
ExclusionBlendModestatic final int ExclusionBlendMode - See Also:
- Constant Field Values
 
 - 
HueBlendModestatic final int HueBlendMode - See Also:
- Constant Field Values
 
 - 
SaturationBlendModestatic final int SaturationBlendMode - See Also:
- Constant Field Values
 
 - 
ColorBlendModestatic final int ColorBlendMode - See Also:
- Constant Field Values
 
 - 
LuminosityBlendModestatic final int LuminosityBlendMode - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createColorSpacejava.awt.color.ColorSpace createColorSpace(int type, java.lang.Object params)Create a colorspace object from one of the above space IDs.The value of "params" can be as follows: Device spaces - ignored CIE spaces - a Map ICC spaces - a PDF Stream Indexed spaces - a Map with keys 'base", "hival", and "lookup" Pattern - null Separation - a Map with "Colorant", "Base", & "TintTransform" DeviceN - - a Map with "Colorants", "Base", "TintTransform", & "Attributes" 
 - 
createColorjava.awt.Color createColor(java.awt.color.ColorSpace space, float[] values)Create a specific color in the colorspace
 - 
createCompositejava.awt.Composite createComposite(java.awt.color.ColorSpace sourcespace, int blendMode, boolean alphaIsShape, float alpha)Create a Composite for the blend mode and alpha parameters. The destination onto which things will be composited will always be 32bit argb, but the source colorspace can be arbitrary. The composite will need to do some conversions if the source colorspace is anything other than deviceRGB.
 
- 
 
-