Common Classes
Point
The point class Stores the x and y coordinate of the points.
class com.dynamsoft.dbr.Point;
Attribute | Type | Descriptions |
---|---|---|
x |
int | The X coordinate of the point. |
y |
int | The y coordinate of the point. |
Quadrilateral
This class stores the quadrilateral points data.
class com.dynamsoft.dbr.Quadrilateral;
Attribute | Type | Descriptions |
---|---|---|
points |
Point [] |
Four vertexes in a clockwise direction of a quadrilateral. Index 0 represents the left-most vertex. |
RegionDefinition
This class stores the region data. You can make settings on scan region through this class.
class com.dynamsoft.dbr.RegionDefinition;
Attribute | Type | Descriptions |
---|---|---|
regionTop |
int | The top-most coordinate or percentage of the region. |
regionLeft |
int | The left-most coordinate or percentage of the region. |
regionRight |
int | The right-most coordinate or percentage of the region. |
regionBottom |
int | The bottom-most coordinate or percentage of the region. |
regionMeasuredByPercentage |
int | Sets whether or not to use percentage to measure the region size. |