KeyEntry
One category in the scene's colour key: a name and the colour it is drawn in.
@internote/canvas-sdkOn this page
import { KeyEntry } from '@internote/canvas-sdk';Two entries are the same entry when their names match, ignoring case, and their colours and strokes match. A matching name in a different colour is a different claim about the picture, and keeps its own entry.
#Fields
activeWhether the pointer is lighting something of this category on the picture, which stands the entry up.
booleancolourThe hue or colour it is drawn in; the key shows it as a disc.
stringfillThe fill it is drawn in, where that is what it means — a forecast bar hatched against the recorded ones. The key shows a square filled so in place of the disc.
soliddottedhatchedoutlinednameWhat the key calls it.
stringshapeThe marker it is drawn as, where that is what it means — a censored reading's cross against an event's circle. The key shows that marker in the entry's colour in place of the disc.
stringstrokeThe stroke it is drawn in, where that is what it means — a projection dashed against the solid record. The key shows a short line, solid, dashed or dotted, in place of the disc.
soliddasheddottedDeclared in packages/canvas-sdk/src/footer/index.ts:87.