Added Scale authored by Brickgard's avatar Brickgard
......@@ -9,7 +9,7 @@ Asset layers move in the direction of their alignment, from their start position
### Outlined
This will give a shadow-backdrop outline to the asset layer.
```yaml
outlined: true
outlined: true
```
### Offset
The core positioning of the asset layer - this moves the asset based on the origin point for the whole Asset (where it is placed in [HUD Layouts](Layouts) ). This is how to position various layers around within an asset, to make a single object ready to arrange within a HUD.
......@@ -24,6 +24,12 @@ Some layers can be colored, such as tinting a texture or a font color. Supports
color: white
color: "#ffbb00"
```
### Scale
A layer can be scaled, changing the pixel resolution of the input texture by this multiplier.\
For example, this would take a 32px square texture and display it as a 16px square texture:
```yaml
scale: 0.5
```
## Contents
### Text Layer
Text layers can be static or contain placeholders, either from the layer's listener or PlaceholderAPI.
......@@ -85,6 +91,7 @@ fill:
align: right
outlined: false
color: "#f23a3a"
scale: 0.5
offset:
x: 0
y: 0
......
......