Optional
init: PartialDeep<RoundProgressGauge>Sets RoundProgressGauge#value property using an evaluated string.
Draws this gauge at its current value
property onto ctx
using rect
dimensions for scaling.
Gauge value as decimal percent, -1 through 1
A highlight is a copy of the value track with a blur filter applied, drawn behind the value track itself and with the same color.
Readonly
shadowShadow color to draw behind the gauge area. Use any transparent color to disable.
Starting angle in radians. 0 points east, default is west.
Drawing direction, clockwise (0), counter-clockwise (1), or automatic (2) based on value being positive (CW) or negative (CCW).
Readonly
backgroundThe background follows the radius of the gauge, not the full icon drawing area.
Radius of gauge arc, expressed as decimal percentage of half of the overall drawing size (eg. radius of 0.5 would be one quarter of the overall image size).
Readonly
lineStyle to use for drawing the value track. (The track cannot be filled, only stroked.)
Draws an arc/circle extending from 0 to 360 degrees based on a given value onto a canvas context.