Streamable
public class IncludePageOverlay extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
name
triplets
Constructor | Description |
---|---|
IncludePageOverlay(java.lang.String overlayName,
int x,
int y,
int orientation) |
Constructor for the Include Page Overlay
|
Modifier and Type | Method | Description |
---|---|---|
void |
setOrientation(int orientation) |
Sets the orientation to use for the overlay.
|
void |
writeToStream(java.io.OutputStream os) |
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, truncate, writeChunksToStream, writeObjects
copySF, getName, getNameBytes, getNameLength, setName, toString
writeContent, writeEnd, writeStart
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
public IncludePageOverlay(java.lang.String overlayName, int x, int y, int orientation)
overlayName
- Name of the page segmentx
- The x positiony
- The y positionorientation
- The orientationpublic void setOrientation(int orientation)
orientation
- The orientation (0,90, 180, 270)public 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-2016 The Apache Software Foundation. All Rights Reserved.