|
Foxit PDF SDK
|
Public Member Functions | |
| constructor () | |
| Construct an empty rectangle. | |
| constructor (left1, bottom1, Fight1, top1) | |
| Construct a rectangle with left-bottom and right-top corners. More... | |
| Contains (other_rect) Contains(x | |
| Check if current rectangle fully contains the other provided rectangle. That means to check if the other rectangle is fully inside current one. More... | |
| IsEmpty () | |
| Verify whether the rect is empty. More... | |
| Normalize () | |
| Normalize the rect. Make sure left <= right, and bottom <= top. More... | |
| Reset () | |
| Reset rectangle, set coordinates to 0. More... | |
Public Attributes | |
| bottom | |
| The bottom. | |
| right | |
| The right. | |
| top | |
| The top. | |
|
inline |
Construct a rectangle with left-bottom and right-top corners.
| [in] | left1 | The x-coordinate of the input left-bottom corner. |
| [in] | bottom1 | The y-coordinate of the input left-bottom corner. |
| [in] | right1 | The x-coordinate of the input right-top corner. |
| [in] | top1 | The y-coordinate of the input right-top corner. |
| FSDK.RectF.Contains | ( | other_rect | ) |
Check if current rectangle fully contains the other provided rectangle. That means to check if the other rectangle is fully inside current one.
| [in] | other_rect | The other provided rect. |
Check if current rectangle fully contains the provided point. That means to check if the provided point is inside current rectangle.
| [in] | x | The x coordinate of the provided point. |
| [in] | y | The y coordinate of the provided point. |
|
inline |
Verify whether the rect is empty.
|
inline |
Normalize the rect. Make sure left <= right, and bottom <= top.
|
inline |
Reset rectangle, set coordinates to 0.