Class Region
Represents the location of a recognized barcode in the image.
Inherited Members
Namespace: DRIT.Barcode.Recognition
Assembly: DRIT.Barcode.dll
Syntax
public class Region
Constructors
Region(Point[])
Initializes a new instance of the Region class.
Declaration
public Region(Point[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| Point[] | points | The quadrilateral corner points of the barcode. |
Region(Point[], int)
Initializes a new instance of the Region class.
Declaration
public Region(Point[] points, int angle)
Parameters
| Type | Name | Description |
|---|---|---|
| Point[] | points | The quadrilateral corner points of the barcode. |
| int | angle | The rotation angle in degrees. |
Properties
Angle
Gets the rotation angle of the barcode in degrees.
Declaration
public int Angle { get; }
Property Value
| Type | Description |
|---|---|
| int |
Bounds
Gets the axis-aligned bounding rectangle of the barcode.
Declaration
public Rectangle Bounds { get; }
Property Value
| Type | Description |
|---|---|
| Rectangle |
Points
Gets the quadrilateral corner points of the barcode.
Declaration
public Point[] Points { get; }
Property Value
| Type | Description |
|---|---|
| Point[] |