mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Final image API doc tweaks
This commit is contained in:
@@ -29,8 +29,7 @@ impl eframe::App for MyApp {
|
||||
ui.image(egui::include_image!("ferris.svg"));
|
||||
|
||||
ui.add(
|
||||
egui::Image::new("https://picsum.photos/seed/1.759706314/1024")
|
||||
.rounding(egui::Rounding::same(10.0)),
|
||||
egui::Image::new("https://picsum.photos/seed/1.759706314/1024").rounding(10.0),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user