epaint::shape_transform

Function adjust_colors

Source
pub fn adjust_colors(
    shape: &mut Shape,
    adjust_color: impl Fn(&mut Color32) + Send + Sync + Copy + 'static,
)
Expand description

Remember to handle Color32::PLACEHOLDER specially!