Streamable, StructuredDatapublic class GraphicsImage extends AbstractGraphicsDrawingOrder
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field | Description |
|---|---|---|
static short |
MAX_DATA_LEN |
the maximum image data length
|
LOG, SF_CLASS, SF_HEADER_LENGTH| Constructor | Description |
|---|---|
GraphicsImage(int x,
int y,
int width,
int height,
byte[] imageData) |
Main constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getDataLength() |
Returns the data length of this structured field
|
java.lang.String |
toString() |
|
void |
writeToStream(java.io.OutputStream os) |
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjectsgetNamepublic static final short MAX_DATA_LEN
public GraphicsImage(int x,
int y,
int width,
int height,
byte[] imageData)
x - the x coordinate of the imagey - the y coordinate of the imagewidth - the image widthheight - the image heightimageData - the image datapublic int getDataLength()
public void writeToStream(java.io.OutputStream os)
throws java.io.IOException
os - the outputsteam streamjava.io.IOException - an I/O exception of some sort has occurred.public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.