Streamable
, StructuredData
public final class GraphicsBox extends AbstractGraphicsCoord
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
coords, relative
Constructor | Description |
---|---|
GraphicsBox(int[] coords) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
int |
getDataLength() |
Returns the data length of this structured field
|
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, writeObjects
addCoords, isRelative, toString
getName
public GraphicsBox(int[] coords)
coords
- the x/y coordinates for this objectpublic int getDataLength()
getDataLength
in interface StructuredData
getDataLength
in class AbstractGraphicsCoord
public void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractGraphicsCoord
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.