pub fn new(width: u32, height: u32) -> Self {
        RenderTarget {
            width,
            height,
            data: vec![Color::rgba(0, 0, 0, 0).data; width as usize * height as usize],
        }
    }
/// Creates a new image with the given width and height.
Creates a new image with the given width and height.
Creates a new image with the given width and height .
pub fn new(width: u32, height: u32) -> Self {
        RenderTarget {
            width,
            height,
            data: vec![Color::rgba(0, 0, 0, 0).data; width as usize * height as usize],
        }
    }
pub fn new ( width : u32 , height : u32 ) -> Self { RenderTarget { width , height , data : vec ! [ Color rgba ( 0 0 0 0 ) data width as usize height as usize ] , } }
Creates a new image with the given width and height.
Creates a new image with the given width and height .
width
u32
height
u32