<Border>
Creates a border object.
A border works like an Image that can stretch while retaining the dimensions of its corners.
This is useful for making textured rectangles with arbitrary sizes.
By default, a border will take the size of the source texture.
Border attributes
Attribute | Description |
texture | [Required] Source texture name |
mirror | Flip image horizontally |
flip | Flip image vertically |
Additionally, this asset type inherits all object attributes.
Valid child tags
Child tags | Description |
<Traits> | Object traits list |
<Meta> | Meta information |
Objects... | Other objects |
Example
<Border name="My border" texture="My texture" />