public class PDArtifactMarkedContent extends PDMarkedContent
| Constructor and Description |
|---|
PDArtifactMarkedContent(COSDictionary properties) |
| Modifier and Type | Method and Description |
|---|---|
PDRectangle |
getBBox()
Gets the artifact's bounding box (BBox).
|
String |
getSubtype()
Gets the subtype (Subtype).
|
String |
getType()
Gets the type (Type).
|
boolean |
isBottomAttached()
Is the artifact attached to the bottom edge?
|
boolean |
isLeftAttached()
Is the artifact attached to the left edge?
|
boolean |
isRightAttached()
Is the artifact attached to the right edge?
|
boolean |
isTopAttached()
Is the artifact attached to the top edge?
|
addMarkedContent, addText, addXObject, create, getActualText, getAlternateDescription, getContents, getExpandedForm, getLanguage, getMCID, getProperties, getTag, toStringpublic PDArtifactMarkedContent(COSDictionary properties)
public String getType()
public PDRectangle getBBox()
public boolean isTopAttached()
true if the artifact is attached to the top edge,
false otherwisepublic boolean isBottomAttached()
true if the artifact is attached to the bottom edge,
false otherwisepublic boolean isLeftAttached()
true if the artifact is attached to the left edge,
false otherwisepublic boolean isRightAttached()
true if the artifact is attached to the right edge,
false otherwisepublic String getSubtype()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.