Class DSCCommentBoundingBox

    • Constructor Detail

      • DSCCommentBoundingBox

        public DSCCommentBoundingBox()
        Creates a new instance.
      • DSCCommentBoundingBox

        public DSCCommentBoundingBox​(java.awt.geom.Rectangle2D bbox)
        Creates a new instance.
        Parameters:
        bbox - the bounding box
    • Method Detail

      • getBoundingBox

        public java.awt.geom.Rectangle2D getBoundingBox()
        Returns the bounding box.
        Returns:
        the bounding box
      • setBoundingBox

        public void setBoundingBox​(java.awt.geom.Rectangle2D bbox)
        Sets the bounding box.
        Parameters:
        bbox - the bounding box
      • getName

        public java.lang.String getName()
        Returns the name of the DSC comment.
        Returns:
        the name of the DSC comment (without the "%%" prefix)
      • hasValues

        public boolean hasValues()
        Indicates whether this DSC comment has values.
        Returns:
        true if the DSC comment has values
      • parseValue

        public void parseValue​(java.lang.String value)
        Parses the value of the DSC comment.
        Parameters:
        value - the value