Skip to main content

ShapeFixedColour

One colour for every polygon or line.

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

Signature​

import type { ShapeFixedColour } from "@mapcairn/core";

interface ShapeFixedColour extends ShapeMarks

Properties​

colour​

readonly colour: PaletteSlot;

The palette slot every shape is drawn in.

kind​

readonly kind: "fixed";

Tells a fixed colour from the other shape colour rules.

label​

readonly label: DefinitionText;

The legend's entry for that colour.

See also​

Source: packages/core/src/layers/definition.ts:413