Example usage for Java org.apache.pdfbox.pdmodel.common PDRectangle fields, constructors, methods, implement or subclass
The text is from its open source code.
PDRectangle | LETTER A rectangle the size of U.S. |
PDRectangle | A0 A rectangle the size of A0 Paper. |
PDRectangle | A1 A rectangle the size of A1 Paper. |
PDRectangle | A2 A rectangle the size of A2 Paper. |
PDRectangle | A3 A rectangle the size of A3 Paper. |
PDRectangle | A4 A rectangle the size of A4 Paper. |
PDRectangle | A5 A rectangle the size of A5 Paper. |
PDRectangle | A6 A rectangle the size of A6 Paper. |
PDRectangle(float width, float height) Constructor. | |
PDRectangle(float x, float y, float width, float height) Constructor. | |
PDRectangle() Constructor. | |
PDRectangle(BoundingBox box) Constructor. | |
PDRectangle(COSArray array) Constructor. |
boolean | contains(float x, float y) Method to determine if the x/y point is inside this rectangle. |
float | getHeight() This will get the height of this rectangle as calculated by upperRightY - lowerLeftY. |
float | getLowerLeftX() This will get the lower left x coordinate. |
float | getLowerLeftY() This will get the lower left y coordinate. |
float | getUpperRightX() This will get the upper right x coordinate. |
float | getUpperRightY() This will get the upper right y coordinate. |
float | getWidth() This will get the width of this rectangle as calculated by upperRightX - lowerLeftX. |
void | setLowerLeftX(float value) This will set the lower left x coordinate. |
void | setLowerLeftY(float value) This will set the lower left y coordinate. |
void | setUpperRightX(float value) This will set the upper right x coordinate. |
void | setUpperRightY(float value) This will set the upper right y coordinate. |
GeneralPath | toGeneralPath() Returns a general path equivalent to this rectangle. |
String | toString() This will return a string representation of this rectangle. |
GeneralPath | transform(Matrix matrix) Returns a path which represents this rectangle having been transformed by the given matrix. |