![]() |
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
| __construct (Point $leftTop, Point $rightTop, Point $rightBottom, Point $leftBottom) | |
| getLeftTop () | |
| setLeftTop (Point $value) | |
| getRightTop () | |
| setRightTop (Point $value) | |
| getRightBottom () | |
| setRightBottom (Point $value) | |
| getLeftBottom () | |
| setLeftBottom (Point $value) | |
| isEmpty () | |
| contains (Point $pt) | |
| containsPoint (int $x, int $y) | |
| containsQuadrangle (Quadrangle $quad) | |
| containsRectangle (Rectangle $rect) | |
| equals (Quadrangle $obj) | |
| hashCode () | |
| toString () | |
| getBoundingRectangle () | |
Public Member Functions inherited from BaseJavaClass | |
| __construct ($javaClass) | |
| getJavaClass () | |
| getJavaClassName () | |
| isNull () | |
| printJavaClassName () | |
Static Public Member Functions | |
| static | EMPTY () |
| static | construct (... $args) |
Protected Member Functions | |
| init () | |
Protected Member Functions inherited from BaseJavaClass | |
| setJavaClass ($javaClass) | |
Private Attributes | |
| const | javaClassName = "com.aspose.mw.barcode.recognition.MwQuadrangle" |
| $leftTop | |
| $rightTop | |
| $rightBottom | |
| $leftBottom | |
Stores a set of four Points that represent a Quadrangle region.
Initializes a new instance of the Quadrangle structure with the describing points.
| Point | $leftTop | A Point that represents the left-top corner of the Quadrangle. |
| Point | $rightTop | A Point that represents the right-top corner of the Quadrangle. |
| Point | $rightBottom | A Point that represents the right-bottom corner of the Quadrangle. |
| Point | $leftBottom | A Point that represents the left-bottom corner of the Quadrangle. |
|
static |
| Quadrangle::contains | ( | Point | $pt | ) |
Determines if the specified Point is contained within this Quadrangle structure.
| Quadrangle::containsPoint | ( | int | $x, |
| int | $y | ||
| ) |
Determines if the specified point is contained within this Quadrangle structure.
| int | $x | The x point cordinate. |
| int | $y | The y point cordinate. |
| Quadrangle::containsQuadrangle | ( | Quadrangle | $quad | ) |
Determines if the specified Quadrangle is contained or intersect this Quadrangle structure.
| Quadrangle | quad The Quadrangle to test. |
| Quadrangle::containsRectangle | ( | Rectangle | $rect | ) |
Determines if the specified Rectangle is contained or intersect this Quadrangle structure.
|
static |
Represents a Quadrangle structure with its properties left uninitialized.Value: Quadrangle
| Quadrangle::equals | ( | Quadrangle | $obj | ) |
Returns a value indicating whether this instance is equal to a specified Quadrangle value.
| Quadrangle | $other | An Quadrangle value to compare to this instance. |
| Quadrangle::getBoundingRectangle | ( | ) |
Creates Rectangle bounding this Quadrangle
| Quadrangle::getLeftBottom | ( | ) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region
| Quadrangle::getLeftTop | ( | ) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region
| Quadrangle::getRightBottom | ( | ) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region
| Quadrangle::getRightTop | ( | ) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region
| Quadrangle::hashCode | ( | ) |
Returns the hash code for this instance.
|
protected |
Reimplemented from BaseJavaClass.
| Quadrangle::isEmpty | ( | ) |
Tests whether all Points of this Quadrangle have values of zero.Value: Returns true if all Points of this Quadrangle have values of zero; otherwise, false.
| Quadrangle::setLeftBottom | ( | Point | $value | ) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region
| Quadrangle::setLeftTop | ( | Point | $value | ) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region
| Quadrangle::setRightBottom | ( | Point | $value | ) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region
| Quadrangle::setRightTop | ( | Point | $value | ) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region
| Quadrangle::toString | ( | ) |
Returns a human-readable string representation of this Quadrangle.
|
private |
|
private |
|
private |
|
private |
|
private |