Corner
Corner is a structure in an image consisting of two line segments and intersection point. A Corner represents a point at which the image’s brightness or color sharply changes.
Definition
Package: com.dynamsoft.core.basic_structures
public class Corner
Attributes
| Attribute | Type | Description |
|---|---|---|
type |
int | The type of the corner. This is one of the values of the EnumCornerType enumeration. |
intersection |
Point | The intersection point of the corner. |
line1 |
LineSegment | One of the line connected to the corner. |
line2 |
LineSegment | One of the line connected to the corner. |
Methods
| Method | Description |
|---|---|
Corner() |
Initializes a new instance of the Corner class. |
Corner(Corner corner) |
Initializes a new instance of the Corner class with another corner. |
Corner()
Initializes a new instance of the Corner class.
public Corner()
Corner(Corner corner)
Initializes a new instance of the Corner class with another corner.
public Corner(Corner corner)
Parameters
corner: Another corner object to copy from.
type
The type of the corner.
public @EnumCornerType int type
intersection
The intersection point of the corner.
public Point intersection
line1
One of the line segments connected to the corner.
public LineSegment line1
line2
One of the line segments connected to the corner.
public LineSegment line2