BorderRadius
Properties
- 
          bottom_left(Number) –Radius of the bottom left border corner. 
- 
          bottom_right(Number) –Radius of the bottom right border corner. 
- 
          top_left(Number) –Radius of the top left border corner. 
- 
          top_right(Number) –Radius of the top right border corner. 
Methods
- 
            all–Creates a BorderRadiuswhere all radii areradius.
- 
            copy–Returns a copy of this object with the specified properties overridden. 
- 
            horizontal–Creates a horizontally symmetrical BorderRadiuswhere theleftandright
- 
            only–Creates a border radius with only the given values. 
- 
            vertical–Creates a vertically symmetric BorderRadiuswhere thetopandbottom
Properties#
Methods#
classmethod
  
#
all(value: Number) -> BorderRadius
Creates a BorderRadius where all radii are radius.
copy(
    *,
    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 object with the specified properties overridden.
classmethod
  
#
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.
classmethod
  
#
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.
classmethod
  
#
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.