Skip to main content

ShapeStepColour

Graduated colour from explicit stops (class breaks).

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

Signature​

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

interface ShapeStepColour

Properties​

field​

readonly field: string;

The numeric field the steps are read from.

kind​

readonly kind: "steps";

Tells a stepped rule from the other shape colour rules.

steps​

readonly steps: readonly ShapeStep[];

Ascending minimums; the first applies to everything below the second.

See also​

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