# Ring

Base Type: Path

A class that contains a ring, which is a connected, continuous sequence of segments or points where the first and last points are the same.

## Remarks

All properties are inherited from Path.

A Ring is a type of surface patch that defines a two dimensional area and can be used to construct a polygon, defined by a collection of points forming a closed Path, such that the From and To points have the same coordinates. The front side is established by orienting its vertices clockwise.

## Examples

### C#

```
PointN pnt1 = new PointN();
pnt1.X = 100000;
pnt1.Y = 300000;
PointN pnt2 = new PointN();
pnt2.X = 100000;
pnt2.Y = 350000;
PointN pnt3 = new PointN();
pnt3.X = 900000;
pnt3.Y = 350000;
PointN[] pnts1 = new PointN[] { pnt1, pnt2, pnt3 };
Ring ring1 = new Ring();
ring1.PointArray = pnts1;
```

11/8/2016