Border

It controls the radius of each corner, the width and color of each edge, and optional shadow settings. A border affects the component’s layout dimensions because the width is applied outside the content box. #[go. TypeScript “path”:“web/vuejs/src/shared/protocol/ora”].

Methods

MethodDescription
BottomRadius(radius Length)BottomRadius sets the same corner radius for both bottom corners.
Circle()Circle sets all corner radii to a large value, resulting in a circle/ellipse shape.
Color(c Color)Color sets the same border color on all four sides.
Elevate(elevation core.DP)Elevate applies a shadow effect based on a given elevation in device-independent pixels (DP). The shadow blur radius and offset are scaled accordingly, using rem units.
Radius(radius Length)Radius sets the same corner radius for all four corners.
Shadow(radius Length)Shadow adds a shadow with the given blur radius and a default semi-transparent black color.
TopRadius(radius Length)TopRadius sets the same corner radius for both top corners.
Width(width Length)Width sets the same border thickness on all four sides.