Module org.sejda.sambox
Class PDArtifactMarkedContent
java.lang.Object
org.sejda.sambox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
org.sejda.sambox.pdmodel.documentinterchange.taggedpdf.PDArtifactMarkedContent
An artifact marked content.
- Author:
- Johannes Koch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBBox()Gets the artifact's bounding box (BBox).Gets the subtype (Subtype).getType()Gets the type (Type).booleanIs the artifact attached to the bottom edge?booleanIs the artifact attached to the left edge?booleanIs the artifact attached to the right edge?booleanIs the artifact attached to the top edge?Methods inherited from class org.sejda.sambox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
addMarkedContent, addText, addXObject, create, getActualText, getAlternateDescription, getContents, getExpandedForm, getLanguage, getMCID, getProperties, getTag, toString
-
Constructor Details
-
PDArtifactMarkedContent
-
-
Method Details
-
getType
Gets the type (Type).- Returns:
- the type
-
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
Gets the subtype (Subtype).- Returns:
- the subtype
-