Defines the shape of characters that can be drawn onto the screen.
love.graphics.newFont | Creates a new Font. | ||
love.graphics.newImageFont | Creates a new Font by loading a specifically formatted image. | 0.2.0 |
Font:getAscent | Gets the ascent of the Font in pixels. | 0.9.0 | |
Font:getBaseline | Gets the baseline of the Font in pixels. | 0.9.0 | |
Font:getDescent | Gets the descent of the Font in pixels. | 0.9.0 | |
Font:getFilter | Gets the filter mode for a font. | 0.9.0 | |
Font:getHeight | Gets the height of the Font in pixels. | ||
Font:getLineHeight | Gets the line height. | ||
Font:getWidth | Determines the horizontal size a line of text needs. | ||
Font:getWrap | Gets formatting information for text, given a wrap limit. | 0.7.0 | |
Font:hasGlyphs | Gets whether the Font can render a character or string. | 0.9.0 | |
Font:setFallbacks | Sets other Fonts to use if this Font doesn't have a specific character. | 0.10.0 | |
Font:setFilter | Sets the filter mode for a font. | 0.9.0 | |
Font:setLineHeight | Sets the line height. | ||
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. |
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Font