Function pre_multiply_color
pub fn pre_multiply_color(c: impl Into<Color>) -> u32Expand description
Returns the premultiplied color closest to c. Multiplies the c RGB components by the c
alpha, and arranges the bytes to match the format of crate::ColorType::N32.
cunpremultiplied ARGB color