Class PDArtifactMarkedContent


  • public class PDArtifactMarkedContent
    extends PDMarkedContent
    An artifact marked content.
    • Constructor Detail

      • PDArtifactMarkedContent

        public PDArtifactMarkedContent​(COSDictionary properties)
    • Method Detail

      • getType

        public java.lang.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:
        true if the artifact is attached to the top edge, false otherwise
      • isBottomAttached

        public boolean isBottomAttached()
        Is the artifact attached to the bottom edge?
        Returns:
        true if the artifact is attached to the bottom edge, false otherwise
      • isLeftAttached

        public boolean isLeftAttached()
        Is the artifact attached to the left edge?
        Returns:
        true if the artifact is attached to the left edge, false otherwise
      • isRightAttached

        public boolean isRightAttached()
        Is the artifact attached to the right edge?
        Returns:
        true if the artifact is attached to the right edge, false otherwise
      • getSubtype

        public java.lang.String getSubtype()
        Gets the subtype (Subtype).
        Returns:
        the subtype
      • isAttached

        private boolean isAttached​(java.lang.String edge)
        Is the artifact attached to the given edge?
        Parameters:
        edge - the edge
        Returns:
        true if the artifact is attached to the given edge, false otherwise