# 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

*Namespace:* Dynamsoft.Core


```csharp
class Corner
```

## Attributes
  
| Attribute | Type |
|---------- | ---- |
| [`type`](#type) | *EnumCornerType* |
| [`intersection`](#intersection) | *Point* |
| [`line1`](#line1) | *LineSegment* |
| [`line2`](#line2) | *LineSegment* |

### type

The type of the corner.

```csharp
EnumCornerType type
```

**See Also**

[EnumCornerType](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/enum-corner-type.md)

### intersection

The intersection point of the corner.

```csharp
Point intersection
```

**See Also**

[Point](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/basic-classes/point.md)

### line1

One of the line connected to the corner.

```csharp
LineSegment line1
```

**See Also**

[LineSegment](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/basic-classes/line-segment.md)

### line2

One of the line connected to the corner.

```csharp
LineSegment line2
```

**See Also**

[LineSegment](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/basic-classes/line-segment.md)
