| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | PDXObject(PDDocument
The document in which to create the XObject. document, COSName The subtype of the new XObject. subtype)Creates a new XObject of the given subtype for writing. |
| Modifier and Type | Method and Description |
|---|---|
| public static PDXObject | Returns: A new XObject instance.The stream which is wrapped by this XObject. base, PDResources the resources of this XObject resources)Creates a new XObject instance of the appropriate type for the COS stream. |
| public final COSStream | getCOSObject()
Implements org. Returns the stream. |
| public final PDStream |
| stream | back to summary |
|---|---|
| private final PDStream stream | |
| PDXObject | back to summary |
|---|---|
| protected PDXObject(COSStream stream, COSName subtype) Creates a new XObject from the given stream and subtype. | |
| PDXObject | back to summary |
|---|---|
| protected PDXObject(PDStream stream, COSName subtype) Creates a new XObject from the given stream and subtype. | |
| PDXObject | back to summary |
|---|---|
| protected PDXObject(PDDocument document, COSName subtype) Creates a new XObject of the given subtype for writing.
| |
| createXObject | back to summary |
|---|---|
| public static PDXObject createXObject(COSBase base, PDResources resources) throws IOException Creates a new XObject instance of the appropriate type for the COS stream.
| |
| getCOSObject | back to summary |
|---|---|
| public final COSStream getCOSObject() Implements org. Doc from org. Returns the stream. Convert this standard java object to a COS object. | |
| getStream | back to summary |
|---|---|
| public final PDStream getStream() Returns the stream.
| |