[][src]Struct iced_audio::style::knob::InnerCircle

pub struct InnerCircle {
    pub scale: f32,
    pub color: Color,
    pub border_width: u16,
    pub border_color: Color,
}

An additional circle drawn inside of the main circle in VectorStyle,

  • scale - the scale of the circle relative to the size of the knob. For example, a scale of 0.5 will draw the inner circle with half the radius of the knob.
  • color - the color of the inner circle
  • border_width - the width of the border around the inner circle
  • border_color - the color of the border around the inner circle

Fields

scale: f32

the scale of the circle relative to the size of the knob. For example, a scale of 0.5 will draw the inner circle with half the radius of the knob.

color: Color

the color of the inner circle

border_width: u16

the width of the border around the inner circle

border_color: Color

the color of the border around the inner circle

Trait Implementations

impl Clone for InnerCircle[src]

impl Debug for InnerCircle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,