Skip to main content

corner_radius

Function corner_radius 

Source
pub fn corner_radius(radius: f32, place: &Placement) -> CornerRadius
Expand description

A window’s corners from its theme’s radius (in points) and where it stands: rounded only while it floats free, a corner square on a side against a screen’s edge; all square when maximized, in full screen, or when the backend does not tell those states.