Reference·JavaScript · @bimworks/viewercommonJavaScript

ColorChanges

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface ColorChanges

What ObjectStateListener.colorChangedMulti receives: the objects whose colour changed, per colour

Members#

Member Kind Description
alter Property Alterations of the objects' own colour: a transparency from 0 to 1, a number or a numeric string (0: the own colour, opaque, as ColorChangeMap.resetQid gives…
fixed Property Fixed colours: the colour → the objects that got it

alter#

TypeScript#
alter: Map<string | number, QidSet>

Alterations of the objects' own colour: a transparency from 0 to 1, a number or a numeric string (0: the own colour, opaque, as ColorChangeMap.resetQid gives) → the objects that got it

fixed#

TypeScript#
fixed: Map<TinyColor, QidSet>

Fixed colours: the colour → the objects that got it