public class GraphicsDataDescriptor extends AbstractDescriptor
AbstractAFPObject.Category, AbstractAFPObject.Type
height, heightRes, width, widthRes
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
GraphicsDataDescriptor(int xlwind,
int xrwind,
int ybwind,
int ytwind,
int widthRes,
int heightRes)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getHeight, getWidth, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copySF, copySF, truncate, writeChunksToStream, writeObjects
public GraphicsDataDescriptor(int xlwind, int xrwind, int ybwind, int ytwind, int widthRes, int heightRes)
xlwind
- the left edge of the graphics windowxrwind
- the right edge of the graphics windowybwind
- the top edge of the graphics windowytwind
- the bottom edge of the graphics windowwidthRes
- the width resolution of the graphics windowheightRes
- the height resolution of the graphics windowpublic void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.