SurfacePaint
The colour scale a heatmap or contour draws with, as returned by parseSurfacePaint.
@internote/canvas-sdkOn this page
import { SurfacePaint } from '@internote/canvas-sdk';#Fields
flatTrue when there is only one colour and no range to show, as with a
hex(…). The surface then shows value as opacity instead: faint at the low end, solid at the high end.booleanstopsCSS colours from the lowest value to the highest; the surface blends between neighbours.
string[]Declared in packages/canvas-sdk/src/paint/colour.ts:261.