Added Scale authored by Brickgard's avatar Brickgard
...@@ -24,6 +24,12 @@ Some layers can be colored, such as tinting a texture or a font color. Supports ...@@ -24,6 +24,12 @@ Some layers can be colored, such as tinting a texture or a font color. Supports
color: white color: white
color: "#ffbb00" 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 ## Contents
### Text Layer ### Text Layer
Text layers can be static or contain placeholders, either from the layer's listener or PlaceholderAPI. Text layers can be static or contain placeholders, either from the layer's listener or PlaceholderAPI.
...@@ -85,6 +91,7 @@ fill: ...@@ -85,6 +91,7 @@ fill:
align: right align: right
outlined: false outlined: false
color: "#f23a3a" color: "#f23a3a"
scale: 0.5
offset: offset:
x: 0 x: 0
y: 0 y: 0
... ...
......