![]() |
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
| __construct ($x, $y, $width, $height) | |
| getX () | |
| getY () | |
| getLeft () | |
| getTop () | |
| getRight () | |
| getBottom () | |
| getWidth () | |
| getHeight () | |
| toString () | |
| equals (Rectangle $obj) | |
| isEmpty () | |
Public Member Functions inherited from BaseJavaClass | |
| __construct ($javaClass) | |
| getJavaClass () | |
| getJavaClassName () | |
| isNull () | |
| printJavaClassName () | |
Static Public Member Functions | |
| static | EMPTY () |
| static | construct (... $args) |
| static | intersect (Rectangle $a, Rectangle $b) |
| static | fromLTRB (int $left, int $top, int $right, int $bottom) |
Protected Member Functions | |
| init () | |
Protected Member Functions inherited from BaseJavaClass | |
| setJavaClass ($javaClass) | |
Private Member Functions | |
| intersectsWithInclusive (Rectangle $r) | |
Private Attributes | |
| const | javaClassName = "java.awt.Rectangle" |
| Rectangle::__construct | ( | $x, | |
| $y, | |||
| $width, | |||
| $height | |||
| ) |
Rectangle constructor.
| $x | |
| $y |
|
static |
|
static |
Represents a Quadrangle structure with its properties left uninitialized.Value: Quadrangle
| Rectangle::equals | ( | Rectangle | $obj | ) |
|
static |
FromLTRB Shared Method Produces a Rectangle structure from left, top, right, and bottom coordinates.
| Rectangle::getBottom | ( | ) |
| Rectangle::getHeight | ( | ) |
| Rectangle::getLeft | ( | ) |
| Rectangle::getRight | ( | ) |
| Rectangle::getTop | ( | ) |
| Rectangle::getWidth | ( | ) |
| Rectangle::getX | ( | ) |
| Rectangle::getY | ( | ) |
|
protected |
Reimplemented from BaseJavaClass.
Intersect Shared Method Produces a new Rectangle by intersecting 2 existing Rectangles. Returns null if there is no intersection.
|
private |
| Rectangle::isEmpty | ( | ) |
| Rectangle::toString | ( | ) |
|
private |