Quadrangle Structure

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

Namespace:  Aspose.BarCode.BarCodeRecognition
Assembly:  Aspose.BarCode (in Aspose.BarCode.dll) Version: 20.11.0
Syntax
public struct Quadrangle : IEquatable<Quadrangle>

The Quadrangle type exposes the following members.

Constructors
  NameDescription
Public methodQuadrangle
Initializes a new instance of the Quadrangle structure with the describing points.
Properties
  NameDescription
Public propertyBoundingRectangle
Gets Rectangle bounding this Quadrangle
Public propertyIsEmpty
Tests whether all Points of this Quadrangle have values of zero.
Public propertyLeftBottom
Gets left-bottom corner Point of Quadrangle region
Public propertyLeftTop
Gets left-top corner Point of Quadrangle region
Public propertyRightBottom
Gets right-bottom corner Point of Quadrangle region
Public propertyRightTop
Gets right-top corner Point of Quadrangle region
Methods
  NameDescription
Public methodContains(Point)
Determines if the specified Point is contained within this Quadrangle structure.
Public methodContains(Rectangle)
Determines if the specified Rectangle is contained or intersect this Quadrangle structure.
Public methodContains(Quadrangle)
Determines if the specified Quadrangle is contained or intersect this Quadrangle structure.
Public methodContains(Int32, Int32)
Determines if the specified point is contained within this Quadrangle structure.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified Quadrangle value.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Quadrangle)
Returns a value indicating whether this instance is equal to a specified Quadrangle value.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Returns a human-readable string representation of this Quadrangle.
(Overrides ValueTypeToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Returns a value indicating whether the first Quadrangle value is equal to the second.
Public operatorStatic memberInequality
Returns a value indicating if the first Quadrangle value is different from the second.
Fields
  NameDescription
Public fieldStatic memberEmpty
Represents a Quadrangle structure with its properties left uninitialized.
See Also