[−][src]Trait iced_audio::native::ramp::Renderer
The renderer of a Ramp
.
Your renderer will need to implement this trait before being
able to use a Ramp
in your user interface.
Associated Types
Loading content...Required methods
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style: &Self::Style,
direction: RampDirection
) -> Self::Output
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style: &Self::Style,
direction: RampDirection
) -> Self::Output
Implementations on Foreign Types
impl Renderer for Renderer
[src]
type Style = Box<dyn StyleSheet>
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style_sheet: &Self::Style,
direction: RampDirection
) -> Self::Output
[src]
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style_sheet: &Self::Style,
direction: RampDirection
) -> Self::Output