[][src]Trait iced_audio::style::knob::StyleSheet

pub trait StyleSheet {
    fn active(&self) -> Style;
fn hovered(&self) -> Style;
fn dragging(&self) -> Style;
fn diameter(&self) -> u16; fn angle_range(&self) -> KnobAngleRange { ... } }

A set of rules that dictate the style of a Knob.

Required methods

fn active(&self) -> Style

Produces the style of an active Knob.

fn hovered(&self) -> Style

Produces the style of a hovered Knob.

fn dragging(&self) -> Style

Produces the style of a Knob that is being dragged.

fn diameter(&self) -> u16

The diameter of the knob

Loading content...

Provided methods

fn angle_range(&self) -> KnobAngleRange

a KnobAngleRange that defines the minimum and maximum angle that the knob rotates

Loading content...

Implementors

Loading content...