Skip to main content

ShapeStepColour

Graduated colour from explicit stops (class breaks).

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

Signature​

import type { ShapeStepColour } from "@mapcairn/sdk/browser";

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​