ori::core::views

Function rect

Source
pub fn rect<T>(size: Size, paint: impl Into<Paint>) -> Painter<T>
Expand description

Create a new Painter view that draws a rectangle.