NoveltyML reference > Objects > Border

<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.


texture [string] (Required)
Name of valid texture resource

Example:
texture = "My texture"


mirror [bool]

Set to true to horizontally reverse texture.

Example:
mirror = "true"


flip [bool]

Set to true to vertically reverse texture.

Example:
flip = "true"


Valid child tags

Child tags Description
<Traits> Object traits list
<Meta> Meta information
Objects... Other objects


Example

<Border name="My border" texture="My texture" />

Back to top