Skip to main content

over

Function over 

pub fn over(
    ground: AlphaColor<Srgb>,
    wash: AlphaColor<Srgb>,
    alpha: f32,
) -> AlphaColor<Srgb>
Expand description

The opaque colour an opaque wash painted at alpha over ground leaves behind — contrast is a property of what reaches the screen, so a caller checking legibility on a washed row has to composite first.