BorderRadius
BorderRadius
#
copy_with
#
copy_with(
*,
top_left: Number | None = None,
top_right: Number | None = None,
bottom_left: Number | None = None,
bottom_right: Number | None = None,
) -> BorderRadius
Returns a copy of this BorderRadius
instance with the given fields replaced
with the new values.
horizontal
#
horizontal(
*, left: Number = 0, right: Number = 0
) -> BorderRadius
Creates a horizontally symmetrical BorderRadius
where the left
and right
sides of the rectangle have the same radii.
only
#
only(
*,
top_left: Number = 0,
top_right: Number = 0,
bottom_left: Number = 0,
bottom_right: Number = 0,
) -> BorderRadius
Creates a border radius with only the given values. The other corners will be right angles.
vertical
#
vertical(
*, top: Number = 0, bottom: Number = 0
) -> BorderRadius
Creates a vertically symmetric BorderRadius
where the top
and bottom
sides of the rectangle have the same radii.