RingWidget beta
Interface of @v12-engine/client
ts
export interface RingWidget extends WidgetRulesA bar bent into a circle: how full a part of the unit is, as BarWidget
Members
background
ts
background?: string;CSS colour of the empty part
color
ts
color?: Value<string>;CSS colour of the full part: the bar's own colour when left out
ring
ts
ring: BarWidget['bar'];What it shows, as a bar's bar: health, mana, a number from 0 to 1, a function
size
ts
size?: number;Pixels across. 22 when left out
width
ts
width?: number;Pixels the line is thick. 3 when left out