Knob Widget
Simple knob widget for egui.
Features
- Adjustable size, font size, and stroke width.
- Customizable colors for the knob and line.
- Label positions (Top, Bottom, Left, Right).
- Two styles: Wiper and Dot.
Installation
To use the Knob widget in your project, add the following to your Cargo.toml:
[]
= "0.30"
Usage example
use ;
use Knob;
// ..
let mut value: f32 = 0.5;
let knob = new
.with_size
.with_font_size
.with_stroke_width
.with_colors
.with_label;
default.show;