iced

Module border

Source
Expand description

Draw lines around containers.

Structs§

Border
A border.
Radius
The border radii for the corners of a graphics primitive in the order: top-left, top-right, bottom-right, bottom-left.

Functions§

bottom
Creates a new Radius with the given value as bottom left and bottom right.
bottom_left
Creates a new Radius with the given bottom left value.
bottom_right
Creates a new Radius with the given bottom right value.
color
Creates a new Border with the given Color.
left
Creates a new Radius with the given value as top left and bottom left.
radius
Creates a new Radius with the same value for each corner.
right
Creates a new Radius with the given value as top right and bottom right.
rounded
Creates a new Border with the given Radius.
top
Creates a new Radius with the given value as top left and top right.
top_left
Creates a new Radius with the given top left value.
top_right
Creates a new Radius with the given top right value.
width
Creates a new Border with the given width.