cosmic::iced::advanced::graphics::core::borderFunction 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));