Class ASRectangle

java.lang.Object
com.adobe.internal.pdftoolkit.core.types.ASObject
com.adobe.internal.pdftoolkit.core.types.ASRectangle

public class ASRectangle extends ASObject
ASRectangle represents an non-COS PDF rectangle.
  • Constructor Details

    • ASRectangle

      public ASRectangle(ASCoordinate ll, ASCoordinate ur)
      Parameters:
      ll - lower-left corner of the rectangle
      ur - upper-right corner of the rectangle
    • ASRectangle

      public ASRectangle(double left, double bottom, double right, double top)
      Parameters:
      left - x coordinate of the left side of the rectangle
      bottom - y coordinate of the bottom side of the rectangle
      right - x coordinate of the right side of the rectangle
      top - y coordinate of the top side of the rectangle
    • ASRectangle

      public ASRectangle(double[] coords) throws PDFInvalidParameterException
      Parameters:
      coords - an array of the coordinates in the form [left, bottom, right, top]
      Throws:
      PDFInvalidParameterException
    • ASRectangle

      public ASRectangle(ASRectangle rect)
      Copy constructor.
      Parameters:
      rect -
  • Method Details