Function iced_tiny_skia::window::compositor::screenshot
source ยท pub fn screenshot<T: AsRef<str>>(
renderer: &mut Renderer,
surface: &mut Surface,
viewport: &Viewport,
background_color: Color,
overlay: &[T],
) -> Vec<u8>