|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfStream>
it.stefanochizzolini.clown.documents.contents.xObjects.XObject
it.stefanochizzolini.clown.documents.contents.xObjects.ImageXObject
public class ImageXObject
Image external object [PDF:1.6:4.8.4].
Constructor Summary | |
---|---|
ImageXObject(Document context,
PdfStream baseDataObject)
|
|
ImageXObject(PdfDirectObject baseObject)
For internal use only. |
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. |
double[] |
getMatrix()
Gets the mapping from external-object space to user space. |
Dimension2D |
getSize()
Gets the size of the image (in samples). |
void |
setSize(Dimension2D value)
Sets the external object size. |
Methods inherited from class it.stefanochizzolini.clown.documents.contents.xObjects.XObject |
---|
wrap |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageXObject(Document context, PdfStream baseDataObject)
public ImageXObject(PdfDirectObject baseObject)
Method Detail |
---|
public int getBitsPerComponent()
public ImageXObject clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfStream>
context
- Which document the clone has to be registered in.public String getColorSpace()
public double[] getMatrix()
XObject
getMatrix
in class XObject
public Dimension2D getSize()
getSize
in class XObject
public void setSize(Dimension2D value)
XObject
setSize
in class XObject
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |