Rasterizer
Available since LÖVE 0.7.0 |
This type is not supported in earlier versions. |
A Rasterizer handles font rendering, containing the font data (image or true-type font) and drawable glyphs.
Constructors
love.font.newBMFontRasterizer | Creates a new BMFont Rasterizer. |
love.font.newImageRasterizer | Creates a new Image Rasterizer. |
love.font.newRasterizer | Creates a new Rasterizer. |
love.font.newTrueTypeRasterizer | Creates a new TrueType Rasterizer. |
Functions
Rasterizer:getAdvance | Gets font advance. |
Rasterizer:getAscent | Gets ascent height. |
Rasterizer:getDescent | Gets descent height. |
Rasterizer:getGlyphCount | Gets number of glyphs in font. |
Rasterizer:getGlyphData | Gets glyph data of a specified glyph. |
Rasterizer:getHeight | Gets font height. |
Rasterizer:getLineHeight | Gets line height of a font. |
Rasterizer:hasGlyphs | Checks if font contains specified glyphs. |
Object:release | Immediately destroys the object's Lua reference. |
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