Class PDArtifactMarkedContent
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
-
- com.tom_roush.pdfbox.pdmodel.documentinterchange.taggedpdf.PDArtifactMarkedContent
-
public class PDArtifactMarkedContent extends PDMarkedContent
An artifact marked content.
-
-
Constructor Summary
Constructors Constructor Description PDArtifactMarkedContent(COSDictionary properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDRectanglegetBBox()Gets the artifact's bounding box (BBox).StringgetSubtype()Gets the subtype (Subtype).StringgetType()Gets the type (Type).booleanisBottomAttached()Is the artifact attached to the bottom edge?booleanisLeftAttached()Is the artifact attached to the left edge?booleanisRightAttached()Is the artifact attached to the right edge?booleanisTopAttached()Is the artifact attached to the top edge?-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class com.tom_roush.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
addMarkedContent, addText, addXObject, create, getActualText, getAlternateDescription, getContents, getExpandedForm, getLanguage, getMCID, getProperties, getTag, toString
-
-
-
-
Constructor Detail
-
PDArtifactMarkedContent
public PDArtifactMarkedContent(COSDictionary properties)
-
-
Method Detail
-
getType
public String getType()
Gets the type (Type).- Returns:
- the type
-
getBBox
public PDRectangle getBBox()
Gets the artifact's bounding box (BBox).- Returns:
- the artifact's bounding box
-
isTopAttached
public boolean isTopAttached()
Is the artifact attached to the top edge?- Returns:
trueif the artifact is attached to the top edge,falseotherwise
-
isBottomAttached
public boolean isBottomAttached()
Is the artifact attached to the bottom edge?- Returns:
trueif the artifact is attached to the bottom edge,falseotherwise
-
isLeftAttached
public boolean isLeftAttached()
Is the artifact attached to the left edge?- Returns:
trueif the artifact is attached to the left edge,falseotherwise
-
isRightAttached
public boolean isRightAttached()
Is the artifact attached to the right edge?- Returns:
trueif the artifact is attached to the right edge,falseotherwise
-
getSubtype
public String getSubtype()
Gets the subtype (Subtype).- Returns:
- the subtype
-
-