# shapeRing

The outline of an area shape as an open ring: a polygon's vertices, or the
points around a circle. Empty for a point, a line and a circle with no
radius yet.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { shapeRing } from "@mapcairn/core";
 
function shapeRing(shape: DrawShape): LatLng[];
```

## Parameters

- `shape` (`DrawShape`)

## Returns

`LatLng[]`

## See also

- [`DrawShape`](https://docs.mapcairn.com/api/core/DrawShape.md)
- [`LatLng`](https://docs.mapcairn.com/api/core/LatLng.md)

Source: [packages/core/src/draw/shape.ts:129](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/shape.ts#L129)
