@graphty/graphty-element / session / ColorWrite
Interface: ColorWrite ​
Defined in: graphty-element/src/session/styles/colors.ts:17
One place a layer writes a colour.
Properties ​
channel ​
readonlychannel:Channel
Defined in: graphty-element/src/session/styles/colors.ts:21
The channel it is written to.
layer ​
readonlylayer:string
Defined in: graphty-element/src/session/styles/colors.ts:19
The layer that writes it.
value? ​
readonlyoptionalvalue?:string|number|boolean
Defined in: graphty-element/src/session/styles/colors.ts:26
The value whose value-table (map) entry it is, as the table spells it, which is what styles.setValueEntry takes back; absent for a fixed value.