Function blend_with_color_space

pub fn blend_with_color_space(
    c: impl Into<Color4f>,
    color_space: impl Into<Option<RCHandle<SkColorSpace>>>,
    mode: SkBlendMode,
) -> Option<RCHandle<SkColorFilter>>
Expand description

Blends between the constant color (src) and input color (dst) based on the BlendMode. If the color space is None, the constant color is assumed to be defined in sRGB.