Skip to main content

paint_border

Function paint_border 

Source
pub fn paint_border(
    canvas: &mut Canvas,
    bounds: Rect,
    shape: AvatarShape,
    rounded_radius_ratio: f32,
    width: f32,
    color: Color,
)
Expand description

Stroke a border ring inside the avatar’s content bounds.