Add font.current
22
font.current.md
Normal file
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)
|
||||
Reference in New Issue
Block a user