| java.lang.Object | |
| ↳ | com.pspdfkit.api.basic.Rect |
A Rect specifies an area in a coordinate space that is enclosed by the Rect object's
lower-left point (x,y) in the coordinate space, its width, and its height.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Rect(float x, float y, float width, float height)
Constructs a new
Rect whose lower-left corner is specified as (x,y) and whose width and height
are specified by the arguments of the same name. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| float |
getHeight()
The height of the
Rect. | ||||||||||
| float |
getWidth()
The width of the
Rect. | ||||||||||
| float |
getX()
The X coordinate of the lower-left corner of the
Rect. | ||||||||||
| float |
getY()
The Y coordinate of the lower-left corner of the
Rect. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||