Completable
, Streamable
public class Overlay extends PageObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
name
activeEnvironmentGroup, complete, factory, objects, rotation
resourceGroup, started
triplets
Constructor | Description |
---|---|
Overlay(Factory factory,
java.lang.String name,
int width,
int height,
int rotation,
int widthResolution,
int heightResolution) |
Construct a new overlay object for the specified name argument, the overlay
name should be an 8 character identifier.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
writeContent(java.io.OutputStream os) |
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os) |
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os) |
Helper method to write the start of the Object.
|
copySF, truncate, writeChunksToStream
copySF, getName, getNameBytes, getNameLength, setName
createFont, createIncludePageSegment, createLine, createNoOperation, createTagLogicalElement, createText, endPage, endPresentationObject, getActiveEnvironmentGroup, getHeight, getPresentationTextObject, getRotation, getTagLogicalElements, getWidth, isComplete, setComplete
getResourceCount, getResourceGroup, hasResources, writeObjects, writeObjects, writeToStream
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addObject, canWrite, createIncludePageOverlay, createShading, toString
public Overlay(Factory factory, java.lang.String name, int width, int height, int rotation, int widthResolution, int heightResolution)
factory
- the resource manager of the page.name
- the name of the page.width
- the width of the page.height
- the height of the page.rotation
- the rotation of the page.widthResolution
- the width resolution of the page.heightResolution
- the height resolution of the page.protected void writeStart(java.io.OutputStream os) throws java.io.IOException
writeStart
in class PageObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeContent(java.io.OutputStream os) throws java.io.IOException
writeContent
in class PageObject
os
- The stream to write tojava.io.IOException
- throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os) throws java.io.IOException
writeEnd
in class PageObject
os
- The stream to write tojava.io.IOException
- an I/O exception if one occurredCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.