Updated love.graphics.newFont() in doc/api.md
This commit is contained in:
@@ -138,11 +138,9 @@ dimensions as the screen.
|
|||||||
##### love.graphics.newQuad(x, y, width, height)
|
##### love.graphics.newQuad(x, y, width, height)
|
||||||
Creates and returns a new quad.
|
Creates and returns a new quad.
|
||||||
|
|
||||||
##### love.graphics.newFont([filename])
|
##### love.graphics.newFont([filename [, ptsize]])
|
||||||
Creates and returns a new font. `filename` should be the name of a black and
|
Creates and returns a new font. `filename` should be the name of a ttf file and
|
||||||
white 8bit .pcx image file representing all 256 characters in a 16 x 16
|
`ptsize` its size. If no `filename` is provided the built in font is used.
|
||||||
character grid. If no `filename` is given then the default embedded font image
|
|
||||||
is used.
|
|
||||||
|
|
||||||
##### love.graphics.present()
|
##### love.graphics.present()
|
||||||
Flips the current screen buffer with the displayed screen buffer. This is
|
Flips the current screen buffer with the displayed screen buffer. This is
|
||||||
|
|||||||
Reference in New Issue
Block a user