Borders
Borders draw an outline around a view. They can be solid, dashed, or dotted, and each border has a color and width.
Borders follow the view’s clip shape. For example, a rounded rectangle clip shape gives the border rounded corners too.








If a border looks square when you expected rounded corners, check the view’s clip shape.