Skip to main content

outline_rect

Function outline_rect 

Source
fn outline_rect(ctx: &CanvasRenderingContext2d, rect: Rect, rounding: f32)
Expand description

A rect, rounded where the display list asks for it. roundRect is a recent addition to the API, so a browser without it falls back to arcs.