outline

Function outline 

Source
pub fn outline(
    bounds: impl Into<Bounds<Pixels>>,
    border_color: impl Into<Hsla>,
    border_style: BorderStyle,
) -> PaintQuad
Expand description

Creates a rectangle outline with the given bounds, border color, and a 1px border width