pub fn Image(_: ImageProps) -> ElementExpand description
A registered asset drawn as a picture. The bytes reached the Renderer once, through
Host::register_asset, and what crosses per frame is the id.
ยงProps
For details, see the props struct definition.
weight:Option<f32>width:Option<f32>height:Option<f32>padding:Option<f32>padding_role:Option<SpaceRole>background:Option<Paint>shape_role:Option<ShapeRole>corner_radius:Option<f32>border_width:Option<f32>border_color:Option<Paint>elevation:Option<f32>fill_max_width:boolfill_max_height:boolasset_id:u32