The Border object works much like an Image but can stretch while still retaining the dimensions of its corners. This is particularly useful when making textured rectangles with arbitrary sizes.
Fig: A border object at different sizes
Borders are useful for when you need a textured rectangle.
Here are a few use cases:
- Rectangular objects with rounded corners.
- Visual element of another object, such as Button or Slider.
<Border name="My border" texture="My texture" />