public class GraphicsLine extends AbstractGraphicsCoord
AbstractAFPObject.Category, AbstractAFPObject.Typecoords, relativeLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
GraphicsLine(int[] coords,
boolean relative)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
addCoords, getDataLength, isRelative, toStringgetNamecopySF, copySF, truncate, writeChunksToStream, writeObjectspublic GraphicsLine(int[] coords,
boolean relative)
coords - the x/y coordinates for this objectrelative - is this a relative drawing orderpublic void writeToStream(OutputStream os) throws IOException
writeToStream in interface StreamablewriteToStream in class AbstractGraphicsCoordos - the outputsteam streamIOException - an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.