Skip to main content

edge_outline

Function edge_outline 

pub fn edge_outline(rect: Rect, radius: f64) -> RoundedRect
Expand description

The outline a crisp 1 px edge is stroked on: half a pixel inside rect, so a 1 px stroke covers exactly the outermost pixel row of the surface and never bleeds onto the ground beside it.