# Corner

The `Corner` interface represents a corner, typically where two line segments meet.

```typescript
interface Corner {
    type: EnumCornerType;
    intersection: Point;
    line1: LineSegment;
    line2: LineSegment;
} 
```

## type

The type of the corner, represented by the enumeration [EnumCornerType](https://www.dynamsoft.com/capture-vision/docs/web/programming/javascript/api-reference/core/enum-corner-type.md).

## intersection

The point of intersection of the two lines forming the corner.

## line1

The first line segment forming the corner.

## line2

The second line connected to the corner.
