Java org.apache.pdfbox.pdmodel.common PDRectangle fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.common PDRectangle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.common PDRectangle.

The text is from its open source code.

Field

PDRectangleLETTER
A rectangle the size of U.S.
PDRectangleA0
A rectangle the size of A0 Paper.
PDRectangleA1
A rectangle the size of A1 Paper.
PDRectangleA2
A rectangle the size of A2 Paper.
PDRectangleA3
A rectangle the size of A3 Paper.
PDRectangleA4
A rectangle the size of A4 Paper.
PDRectangleA5
A rectangle the size of A5 Paper.
PDRectangleA6
A rectangle the size of A6 Paper.

Constructor

Method

booleancontains(float x, float y)
Method to determine if the x/y point is inside this rectangle.
floatgetHeight()
This will get the height of this rectangle as calculated by upperRightY - lowerLeftY.
floatgetLowerLeftX()
This will get the lower left x coordinate.
floatgetLowerLeftY()
This will get the lower left y coordinate.
floatgetUpperRightX()
This will get the upper right x coordinate.
floatgetUpperRightY()
This will get the upper right y coordinate.
floatgetWidth()
This will get the width of this rectangle as calculated by upperRightX - lowerLeftX.
voidsetLowerLeftX(float value)
This will set the lower left x coordinate.
voidsetLowerLeftY(float value)
This will set the lower left y coordinate.
voidsetUpperRightX(float value)
This will set the upper right x coordinate.
voidsetUpperRightY(float value)
This will set the upper right y coordinate.
GeneralPathtoGeneralPath()
Returns a general path equivalent to this rectangle.
StringtoString()
This will return a string representation of this rectangle.
GeneralPathtransform(Matrix matrix)
Returns a path which represents this rectangle having been transformed by the given matrix.