public class IncludePageOverlay extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
name
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
IncludePageOverlay(String overlayName,
int x,
int y,
int orientation)
Constructor for the Include Page Overlay
|
Modifier and Type | Method and Description |
---|---|
void |
setOrientation(int orientation)
Sets the orientation to use for the overlay.
|
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, getName, getNameBytes, getNameLength, setName, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copySF, truncate, writeChunksToStream, writeObjects
public IncludePageOverlay(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(OutputStream os) throws IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamIOException
- an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.