![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Stores a set of four Points that represent a Quadrangle region. More...
Inherits BaseJavaClass.
Public Member Functions | |
def | __init__ (self, leftTop, rightTop, rightBottom, leftBottom) |
Initializes a new instance of the Quadrangle structure with the describing points. More... | |
def | init (self) |
def | getLeftTop (self) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region. More... | |
def | setLeftTop (self, value) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region. More... | |
def | getRightTop (self) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region. More... | |
def | setRightTop (self, value) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region. More... | |
def | getRightBottom (self) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region. More... | |
def | setRightBottom (self, value) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region. More... | |
def | getLeftBottom (self) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region. More... | |
def | setLeftBottom (self, value) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region. More... | |
def | isEmpty (self) |
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. More... | |
def | contains (self, pt) |
Determines if the specified Point is contained within this Quadrangle structure. More... | |
def | containsPoint (self, x, y) |
Determines if the specified point is contained within this Quadrangle structure. More... | |
def | containsQuadrangle (self, quad) |
Determines if the specified Quadrangle is contained or intersect this Quadrangle structure. More... | |
def | containsRectangle (self, rect) |
Determines if the specified Rectangle is contained or intersect this Quadrangle structure. More... | |
def | equals (self, other) |
Returns a value indicating whether this instance is equal to a specified Quadrangle value. More... | |
def | hashCode (self) |
Returns the hash code for this instance. More... | |
def | toString (self) |
Returns a human-readable string representation of this Quadrangle. More... | |
def | getBoundingRectangle (self) |
Creates Rectangle bounding this Quadrangle :return: returns Rectangle bounding this Quadrangle. More... | |
![]() | |
def | __init__ (self, javaClass) |
def | getJavaClass (self) |
def | setJavaClass (self, javaClass) |
def | getJavaClassName (self) |
def | isNull (self) |
def | printJavaClassName (self) |
Static Public Member Functions | |
def | EMPTY () |
Represents a Quadrangle structure with its properties left uninitialized.Value: Quadrangle. More... | |
def | construct (*args) |
Public Attributes | |
leftTop | |
rightTop | |
rightBottom | |
leftBottom | |
![]() | |
javaClass | |
javaClassName | |
Static Public Attributes | |
string | javaClassName = "com.aspose.mw.barcode.recognition.MwQuadrangle" |
Stores a set of four Points that represent a Quadrangle region.
def __init__ | ( | self, | |
leftTop, | |||
rightTop, | |||
rightBottom, | |||
leftBottom | |||
) |
Initializes a new instance of the Quadrangle structure with the describing points.
:param: leftTop A Point that represents the left-top corner of the Quadrangle. :param: rightTop A Point that represents the right-top corner of the Quadrangle. :param: rightBottom A Point that represents the right-bottom corner of the Quadrangle. :param: leftBottom A Point that represents the left-bottom corner of the Quadrangle.
|
static |
def contains | ( | self, | |
pt | |||
) |
Determines if the specified Point is contained within this Quadrangle structure.
:param: pt The Point to test. :return: Returns true if Point is contained within this Quadrangle structure otherwise, false.
def containsPoint | ( | self, | |
x, | |||
y | |||
) |
Determines if the specified point is contained within this Quadrangle structure.
:param: x The x point cordinate. :param: y The y point cordinate. :return: Returns true if point is contained within this Quadrangle structure otherwise, false.
def containsQuadrangle | ( | self, | |
quad | |||
) |
Determines if the specified Quadrangle is contained or intersect this Quadrangle structure.
:param: quad The Quadrangle to test. :return: Returns true if Quadrangle is contained or intersect this Quadrangle structure otherwise, false.
def containsRectangle | ( | self, | |
rect | |||
) |
Determines if the specified Rectangle is contained or intersect this Quadrangle structure.
:param: rect The Rectangle to test. :return: Returns true if Rectangle is contained or intersect this Quadrangle structure otherwise, false.
|
static |
Represents a Quadrangle structure with its properties left uninitialized.Value: Quadrangle.
def equals | ( | self, | |
other | |||
) |
Returns a value indicating whether this instance is equal to a specified Quadrangle value.
:param: other An Quadrangle value to compare to this instance. :return: true if obj has the same value as this instance otherwise, false.
def getBoundingRectangle | ( | self | ) |
Creates Rectangle bounding this Quadrangle :return: returns Rectangle bounding this Quadrangle.
def getLeftBottom | ( | self | ) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region.
def getLeftTop | ( | self | ) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region.
def getRightBottom | ( | self | ) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region.
def getRightTop | ( | self | ) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region.
def hashCode | ( | self | ) |
Returns the hash code for this instance.
:return: A 32-bit signed integer hash code.
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
def isEmpty | ( | self | ) |
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.
def setLeftBottom | ( | self, | |
value | |||
) |
Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region.
def setLeftTop | ( | self, | |
value | |||
) |
Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region.
def setRightBottom | ( | self, | |
value | |||
) |
Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region.
def setRightTop | ( | self, | |
value | |||
) |
Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region.
def toString | ( | self | ) |
Returns a human-readable string representation of this Quadrangle.
:return: A string that represents this Quadrangle.
|
static |
leftBottom |
leftTop |
rightBottom |
rightTop |