
## Quadrangle class

Stores a set of four [Point](/barcode/python-net/aspose.drawing/point/)s that represent a [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) region.

The Quadrangle type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|Quadrangle()|Initializes a new empty instance of the [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) class.|
|Quadrangle(left_top, right_top, right_bottom, left_bottom)|Initializes a new instance of the Quadrangle class|
## Properties
| Name | Description |
| :- | :- |
|left_top|Gets left-top corner [Point](/barcode/python-net/aspose.drawing/point/) of [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) region|
|right_top|Gets right-top corner [Point](/barcode/python-net/aspose.drawing/point/) of [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) region|
|right_bottom|Gets right-bottom corner [Point](/barcode/python-net/aspose.drawing/point/) of [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) region|
|left_bottom|Gets left-bottom corner [Point](/barcode/python-net/aspose.drawing/point/) of [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) region|
|is_empty|Tests whether all [Point](/barcode/python-net/aspose.drawing/point/)s of this [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) have values of zero.|
|bounding_rectangle|Gets [Rectangle](/barcode/python-net/aspose.drawing/rectangle/) bounding this [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/)|
|EMPTY|Represents a [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) class with its properties left uninitialized.|
## Methods
| Name | Description |
| :- | :- |
|contains(pt)|  |
|contains(x, y)|  |
|contains(quad)|Determines if the specified [Point](/barcode/python-net/aspose.drawing/point/) is contained within this [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) class.|
|contains(rect)|  |
|equals(other)|Returns a value indicating whether this instance is equal to a specified [Quadrangle](/barcode/python-net/aspose.barcode.barcoderecognition/quadrangle/) value.|

### See Also

* namespace [aspose.barcode.barcoderecognition](/barcode/python-net/aspose.barcode.barcoderecognition/)
* assembly [Aspose.BarCode](/barcode/python-net/)

