Edge
The class Edge is a structure composed of two Corner points in an image. A Corner represents a point at which the image’s brightness or color sharply changes. Therefore, a Edge is a line segment connecting two such points that have been identified as corners.
Definition
Package: com.dynamsoft.core.basic_structures
public class Edge
Attributes
| Attribute | Type | Description |
|---|---|---|
startCorner |
Corner | The start corner point of the edge. |
endCorner |
Corner | The end corner point of the edge. |
Methods
| Method | Description |
|---|---|
Edge() |
Initializes a new instance of the Edge class. |
Edge(Edge edge) |
Initializes a new instance of the Edge class with another edge. |
Edge()
Initializes a new instance of the Edge class.
public Edge()
Edge(Edge edge)
Initializes a new instance of the Edge class with another edge.
public Edge(Edge edge)
Parameters
edge: Another edge object to copy from.
startCorner
The start corner point of the edge.
public Corner startCorner
endCorner
The end corner point of the edge.
public Corner endCorner