[−][src]Trait iced_audio::native::xy_pad::Renderer
The renderer of an XYPad
.
Your renderer will need to implement this trait before being
able to use an XYPad
in your user interface.
Associated Types
Loading content...Required methods
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal_x: Normal,
normal_y: Normal,
is_dragging: bool,
style: &Self::Style
) -> Self::Output
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal_x: Normal,
normal_y: Normal,
is_dragging: bool,
style: &Self::Style
) -> 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_x: Normal,
normal_y: Normal,
is_dragging: bool,
style_sheet: &Self::Style
) -> Self::Output
[src]
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal_x: Normal,
normal_y: Normal,
is_dragging: bool,
style_sheet: &Self::Style
) -> Self::Output