iced::widget::image

Function draw

pub fn draw<Renderer, Handle>(
    renderer: &mut Renderer,
    layout: Layout<'_>,
    handle: &Handle,
    content_fit: ContentFit,
    filter_method: FilterMethod,
    rotation: Rotation,
    opacity: f32,
)
where Renderer: Renderer<Handle = Handle>, Handle: Clone,
Available on crate feature image only.
Expand description

Draws an Image