StreamableContainerDataDescriptor, GraphicsDataDescriptor, ImageDataDescriptor, ObjectAreaDescriptor, PageDescriptor, PresentationTextDescriptorpublic abstract class AbstractDescriptor extends AbstractTripletStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field | Description |
|---|---|---|
protected int |
height |
height of this descriptor
|
protected int |
heightRes |
height resolution of this descriptor
|
protected int |
width |
width of this descriptor
|
protected int |
widthRes |
width resolution of this descriptor
|
LOG, SF_CLASS, SF_HEADER_LENGTHtriplets| Constructor | Description |
|---|---|
AbstractDescriptor() |
Default constructor
|
AbstractDescriptor(int width,
int height,
int widthRes,
int heightRes) |
Constructor a PresentationTextDescriptor for the specified
width and height.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getHeight() |
Returns the height
|
int |
getWidth() |
Returns the width
|
java.lang.String |
toString() |
copySF, copySF, truncate, writeChunksToStream, writeObjectswriteContent, writeEnd, writeStart, writeToStreamaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletsprotected int width
protected int height
protected int widthRes
protected int heightRes
public AbstractDescriptor()
public AbstractDescriptor(int width,
int height,
int widthRes,
int heightRes)
width - The width of the page.height - The height of the page.widthRes - The width resolution of the page.heightRes - The height resolution of the page.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.