StyleAttributeSpec
One style attribute: the kind of look it gives each item, and the type of one look.
@internote/canvas-sdkOn this page
import { StyleAttributeSpec } from '@internote/canvas-sdk';#Fields
kindThe kind of look it gives each item.
fillcolourstrokeshapesizewidthopacitylookThe type of one look. Absent, the kind's own:
paint for a colour, number for a size, a width or an opacity, STROKE_STYLES for a stroke, FILL_STYLES for a fill. A shape names its mark's shapes ({ base: 'enum', values: [...] }).TypeRefSpecrampsWhether the mark reads a number of its own and is coloured along a ramp — a heatmap, a choropleth, a wash: its look is a colour literal or a
RAMP_TYPE value (a ramp's name or a bare hue), so colour: temperature and colour: blue are ramps over the readings' own range and a list of looks is the stops of one.booleanDeclared in packages/canvas-sdk/src/refine/style-attributes.ts:82.