Function cosmic::widget::image::draw

source ยท
pub fn draw<Renderer, Handle>(
    renderer: &mut Renderer,
    layout: Layout<'_>,
    handle: &Handle,
    content_fit: ContentFit,
    filter_method: FilterMethod,
    rotation: Rotation,
    opacity: f32,
    border_radius: [f32; 4],
)
where Renderer: Renderer<Handle = Handle>, Handle: Clone,
Expand description

Draws an Image