drawKnob
function drawKnob(ratio: number)
Draws the knob on the canvas based on the provided ratio.
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
ratio | number | A value between 0 and 1 representing the current knob position. |
function drawKnob(ratio: number)
Draws the knob on the canvas based on the provided ratio.
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
ratio | number | A value between 0 and 1 representing the current knob position. |