# StyleCategory

One category of a categorical style.

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

## Signature

```ts
import type { StyleCategory } from "@mapcairn/sdk/browser";
 
interface StyleCategory
```

## Properties

### colour

```ts
readonly colour: PaletteSlot;
```

The palette slot the matching points are drawn in.

### label

```ts
readonly label: DefinitionText;
```

The legend's entry.

### shape

```ts
readonly shape?: MarkerShape;
```

The marker shape for this category, overriding the style's.

### value

```ts
readonly value: string | number;
```

The field value this category matches.

## See also

- [`PaletteSlot`](https://docs.mapcairn.com/api/sdk/browser/PaletteSlot.md)
- [`DefinitionText`](https://docs.mapcairn.com/api/sdk/browser/DefinitionText.md)
- [`MarkerShape`](https://docs.mapcairn.com/api/sdk/browser/MarkerShape.md)
