Add font.current

2026-03-18 20:56:09 +01:00
parent 84b0f077e2
commit aa7b346bc2

22
font.current.md Normal file

@@ -0,0 +1,22 @@
# font.current()
Obté la font actual.
# font.current(font)
Especifica una font com a actual.
### Paràmetres
`font`
La font a ficar com a actual.
### Exemple
```
local f = font.load("font.fnt")
font.current(f)
font.spacing(0)
draw.text("0146",100,50,28)
font.current(font.DEFAULT)
```
### Vore també
* [font.load](font.load)
* [font.spacing](font.spacing)