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
|
tripletsLOG, 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, writeTripletswriteContent, writeEnd, writeStart, writeToStreamcopySF, copySF, truncate, writeChunksToStream, writeObjectsprotected 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 © 2023 Apache Software Foundation. All rights reserved.