# ShapeMarks

Marks a class can carry beside its colour. Each is a second signal that
survives colour blindness and a greyscale print.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { ShapeMarks } from "@mapcairn/core";
 
interface ShapeMarks
```

## Properties

### dash

```ts
readonly dash?: LineDash;
```

Dashing of a line, or of a polygon's outline. Defaults to the style's `dash`.

### pattern

```ts
readonly pattern?: FillPattern;
```

Hatching drawn over a polygon's fill. Defaults to `solid` (none).

### width

```ts
readonly width?: number;
```

Line or outline width in pixels, 0.5 to 12. Defaults to the style's `width`.

## See also

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

Source: [packages/core/src/layers/definition.ts:383](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L383)
