Skip to main content

paint_box

Function paint_box 

Source
pub fn paint_box(
    cx: &KitCx<'_>,
    rect: Rect,
    b: &BoxStyle,
    corners: Corners,
    side: Side,
)
Expand description

Paints a box: its fill and border with corners rounded by its radius, and its indicator on side. Strokes are whole physical pixels.