Difference between revisions of "Font"
m |
|||
Line 7: | Line 7: | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Font | + | {{#ask: [[Category:Functions]] [[parent::Font||Object]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description |
Revision as of 17:39, 25 March 2011
Can be used to draw text on screen.
Constructors
love.graphics.newFont | Creates a new Font from a TrueType Font or BMFont file. |
love.graphics.newImageFont | Creates a new Font by loading a specifically formatted image. |
Functions
Font:getHeight | Gets the height of the Font in pixels. |
Font:getLineHeight | Gets the line height. |
Font:getWidth | Determines the width of the given text. |
Font:getWrap | Gets formatting information for text, given a wrap limit. |
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. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info