Function iced::border::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));