cosmic::iced_widget::renderer::graphics::core::border

Function rounded

source
pub fn rounded(radius: impl Into<Radius>) -> Border
Expand description

Creates a new Border with the given Radius.

assert_eq!(border::rounded(10), Border::default().rounded(10));