Updated README. Fixed gitignore
This commit is contained in:
parent
3f4e42d7ce
commit
7c5cec7d8a
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,4 +1,13 @@
|
||||
# Exclude the executable
|
||||
trmnl_sdl
|
||||
|
||||
# Exclude configuration files
|
||||
*.json
|
||||
|
||||
# Exclude images
|
||||
*.bmp
|
||||
*.jpg
|
||||
*.png
|
||||
|
||||
# Exclude fonts
|
||||
*.ttf
|
||||
|
||||
@ -70,7 +70,7 @@ Controls image resizing. **String** type. Has several options:
|
||||
* stretch - Image is scaled (with possible stretching) to fully fill the box
|
||||
|
||||
### TextFit
|
||||
Controls automatic change the text size depending on contents. **String** type. Has several options:
|
||||
Controls the automatic change of the text size depending on contents. **String** type. Has several options:
|
||||
* none - Text is not changed in any way
|
||||
* shrink - Renders text with desired size and shrinks it to fit if contents are too large
|
||||
* auto - Renders text with desired size and enlarges/shrinks it to fit if contents are too small/large
|
||||
@ -90,6 +90,8 @@ Renders an image with optional scaling
|
||||
| halign | HAlign | | center | Horizontal alignment of the image |
|
||||
| valign | VAlign | | center | Vertical alignment of the image |
|
||||
|
||||
Supported image formats: **JPG**, **PNG**, **BMP**
|
||||
|
||||
### rect
|
||||
Renders a rectangle with optional rounded corners using either fill or internal stroke.
|
||||
| Name | Type | Required | Default | Description |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user