Skip to main content

draw_boundary

Function draw_boundary 

Source
pub fn draw_boundary<R: Renderer>(
    rect: Rect,
    stroke_role: Role,
    painter: &mut Style<'_, R>,
)
Expand description

Draw the soft card framing a box’s text in rect: a faint fill plus a thin neutral outline. Drawn before the text so the fill sits behind it.