Aspose::BarCode::BarCodeRecognition::Quadrangle class

Quadrangle class

Stores a set of four Points that represent a Quadrangle region.

class Quadrangle : public System::IEquatable<System::SharedPtr<Aspose::BarCode::BarCodeRecognition::Quadrangle>>

Methods

MethodDescription
Contains(System::Drawing::Point)Determines if the specified Point is contained within this Quadrangle class.
Contains(int32_t, int32_t)Determines if the specified point is contained within this Quadrangle class.
Contains(System::SharedPtr<Quadrangle>)Determines if the specified Quadrangle is contained or intersect this Quadrangle class.
Contains(System::Drawing::Rectangle)Determines if the specified Rectangle is contained or intersect this Quadrangle class.
Equals(System::SharedPtr<Quadrangle>) overrideReturns a value indicating whether this instance is equal to a specified Quadrangle value.
get_BoundingRectangle()Gets Rectangle bounding this Quadrangle
get_IsEmpty()Tests whether all Points of this Quadrangle have values of zero.
get_LeftBottom() constGets left-bottom corner Point of Quadrangle region.
get_LeftTop() constGets left-top corner Point of Quadrangle region.
get_RightBottom() constGets right-bottom corner Point of Quadrangle region.
get_RightTop() constGets right-top corner Point of Quadrangle region.
GetHashCode() const overrideReturns the hash code for this instance.
Quadrangle()Initializes a new empty instance of the Quadrangle class.
Quadrangle(System::Drawing::Point, System::Drawing::Point, System::Drawing::Point, System::Drawing::Point)Initializes a new instance of the Quadrangle class with the describing points.
set_LeftBottom(System::Drawing::Point)Gets left-bottom corner Point of Quadrangle region.
set_LeftTop(System::Drawing::Point)Gets left-top corner Point of Quadrangle region.
set_RightBottom(System::Drawing::Point)Gets right-bottom corner Point of Quadrangle region.
set_RightTop(System::Drawing::Point)Gets right-top corner Point of Quadrangle region.
ToString() const overrideReturns a human-readable string representation of this Quadrangle.

Fields

FieldDescription
static EmptyRepresents a Quadrangle class with its properties left uninitialized.

See Also