public class GraphicsImage extends AbstractGraphicsDrawingOrder
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field and Description |
|---|---|
static short |
MAX_DATA_LEN
the maximum image data length
|
LOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
GraphicsImage(int x,
int y,
int width,
int height,
byte[] imageData)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the data length of this structured field
|
String |
toString() |
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getNamecopySF, copySF, truncate, writeChunksToStream, writeObjectspublic 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(OutputStream os) throws IOException
os - the outputsteam streamIOException - an I/O exception of some sort has occurred.Copyright © 2023 Apache Software Foundation. All rights reserved.