@DoNotObfuscate
public class PageRegion
extends java.lang.Object
| Constructor and Description | 
|---|
PageRegion(int leftX,
          int upperY,
          int width,
          int height)
Creating a wrapper to hold a rectangle representing a section of a PDF page. 
 | 
PageRegion(int leftX,
          int upperY,
          int width,
          int height,
          FormatUnit formatUnit)
Creating a wrapper to hold a rectangle representing a section of a PDF page. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PageRegion | 
createFullSizeFromDocument(byte[] document)
This method creates a clipping area instance for a full page of the given
 document. 
 | 
static PageRegion | 
createFullSizeFromDocument(java.io.File file)
This method creates a clipping area instance for a full page of the given
 document. 
 | 
static PageRegion | 
createFullSizeFromDocument(java.io.InputStream pdfAsStream)
This method creates a clipping area instance for a full page of the given
 document. 
 | 
static PageRegion | 
createFullSizeFromDocument(java.lang.String fileName)
This method creates a clipping area instance for a full page of the given
 document. 
 | 
static PageRegion | 
createFullSizeFromDocument(java.net.URL url)
This method creates a clipping area instance for a full page of the given
 document. 
 | 
int | 
getHeightInPoints()  | 
int | 
getLeftXInPoints()  | 
java.lang.String | 
getName()  | 
java.awt.geom.Rectangle2D | 
getRectangleLowerLeftBasedPoints()  | 
java.awt.geom.Rectangle2D | 
getRectangleUpperLeftBasedPoints()  | 
int | 
getUpperYInPoints()  | 
int | 
getWidthInPoints()  | 
void | 
setName(java.lang.String name)  | 
void | 
setPageHeightInPoints(int heightInPoints)  | 
java.lang.String | 
toString()  | 
public PageRegion(int leftX,
          int upperY,
          int width,
          int height)
@Guarded
public PageRegion(int leftX,
                  int upperY,
                  int width,
                  int height,
                  FormatUnit formatUnit)
@Guarded public static PageRegion createFullSizeFromDocument(java.lang.String fileName)
@Guarded public static PageRegion createFullSizeFromDocument(java.io.File file)
@Guarded public static PageRegion createFullSizeFromDocument(java.io.InputStream pdfAsStream)
@Guarded public static PageRegion createFullSizeFromDocument(java.net.URL url)
@Guarded public static PageRegion createFullSizeFromDocument(byte[] document)
public int getHeightInPoints()
public java.lang.String getName()
public int getLeftXInPoints()
public java.awt.geom.Rectangle2D getRectangleLowerLeftBasedPoints()
public java.awt.geom.Rectangle2D getRectangleUpperLeftBasedPoints()
public int getUpperYInPoints()
public int getWidthInPoints()
public void setName(java.lang.String name)
@Guarded public void setPageHeightInPoints(int heightInPoints)
@IgnoreCoverage public java.lang.String toString()
toString in class java.lang.ObjectCopyright (C) PDFUnit.com. See here for license.