Module cosmic::iced_runtime::core::border
source · Expand description
Draw lines around containers.
Structs§
- A border.
- The border radii for the corners of a graphics primitive in the order: top-left, top-right, bottom-right, bottom-left.
Functions§
- Creates a new
Radius
with the given value as bottom left and bottom right. - Creates a new
Radius
with the given bottom left value. - Creates a new
Radius
with the given bottom right value. - Creates a new
Radius
with the given value as top left and bottom left. - Creates a new
Radius
with the same value for each corner. - Creates a new
Radius
with the given value as top right and bottom right. - Creates a new
Radius
with the given value as top left and top right. - Creates a new
Radius
with the given top left value. - Creates a new
Radius
with the given top right value. - Creates a new
Border
with the givenwidth
.