org.apache.fop.render.pdf
Class AbstractImageAdapter
java.lang.Object
org.apache.fop.render.pdf.AbstractImageAdapter
- PDFImage
public abstract class AbstractImageAdapter
extends java.lang.Object
Abstract PDFImage implementation for the PDF renderer.
protected Image | image - the image
|
image
protected Image image
the image
AbstractImageAdapter
public AbstractImageAdapter(Image image,
String key)
Creates a new PDFImage from an Image instance.
image
- the imagekey
- XObject key
getImageColorSpace
protected ColorSpace getImageColorSpace()
Returns the image's color space.
getSoftMask
public String getSoftMask()
toPDFColorSpace
public static PDFDeviceColorSpace toPDFColorSpace(ColorSpace cs)
Converts a ColorSpace object to a PDFColorSpace object.
- PDFColorSpace new converted object
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.