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