|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfStream>
org.pdfclown.documents.contents.xObjects.XObject
org.pdfclown.documents.contents.xObjects.ImageXObject
@PDF(value=PDF10) public final class ImageXObject
Image external object [PDF:1.6:4.8.4].
Constructor Summary | |
---|---|
ImageXObject(Document context,
PdfStream baseDataObject)
|
Method Summary | |
---|---|
ImageXObject |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
int |
getBitsPerComponent()
Gets the number of bits per color component. |
String |
getColorSpace()
Gets the color space in which samples are specified. |
AffineTransform |
getMatrix()
Gets the mapping from external-object space to user space. |
Dimension2D |
getSize()
Gets the size of the image (in samples). |
void |
setMatrix(AffineTransform value)
|
void |
setSize(Dimension2D value)
|
static ImageXObject |
wrap(PdfDirectObject baseObject)
|
Methods inherited from class org.pdfclown.documents.contents.xObjects.XObject |
---|
getLayer, setLayer |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageXObject(Document context, PdfStream baseDataObject)
Method Detail |
---|
public static ImageXObject wrap(PdfDirectObject baseObject)
public ImageXObject clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfStream>
context
- Which document the clone has to be registered in.public int getBitsPerComponent()
public String getColorSpace()
public AffineTransform getMatrix()
XObject
getMatrix
in class XObject
public Dimension2D getSize()
getSize
in class XObject
public void setMatrix(AffineTransform value)
setMatrix
in class XObject
XObject.getMatrix()
public void setSize(Dimension2D value)
setSize
in class XObject
XObject.getSize()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |