# shapeLabel

A name for a shape of `kind`, such as "Polygon 2", in the words of
`catalogue` (the shipped English when none is given). `serial` counts shapes
of that kind from 1.

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

## Signature

```ts
import { shapeLabel } from "@mapcairn/core";
 
function shapeLabel(kind: DrawKind, serial: number, catalogue?: Pick<MessageCatalogue, "t">): string;
```

## Parameters

- `kind` (`DrawKind`)
- `serial` (`number`)
- `catalogue?` (`Pick<MessageCatalogue, "t">`)

## Returns

`string`

## See also

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

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