Function render_layered

Source
pub fn render_layered(
    images: Vec<DynamicImage>,
    positions: Vec<Option<(f32, f32)>>,
    colors: Vec<Option<[f32; 3]>>,
    scales: Vec<Option<(f32, f32)>>,
    rotations: Vec<Option<f32>>,
) -> Result<DynamicImage, &'static str>
Expand description

Mainly for internal use; given an array of images, their sizes and colors, tints and composits them into a single image