public abstract class AbstractDescriptor extends AbstractTripletStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type
Modifier and Type | Field and 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
|
triplets
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and 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 and Description |
---|---|
int |
getHeight()
Returns the height
|
int |
getWidth()
Returns the width
|
String |
toString() |
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart, writeToStream
copySF, copySF, truncate, writeChunksToStream, writeObjects
protected 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 © 2025 Apache Software Foundation. All rights reserved.