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 TrueType font) and drawable glyphs.
Constructors
love.font.newBMFontRasterizer | Creates a new BMFont Rasterizer. | 0.10.0 | |
love.font.newImageRasterizer | Creates a new Image Rasterizer. | 0.10.0 | |
love.font.newRasterizer | Creates a new Rasterizer. | 0.7.0 | |
love.font.newTrueTypeRasterizer | Creates a new TrueType Rasterizer. | 0.10.0 |
Functions
Object:release | Immediately destroys the object's Lua reference. | 11.0 | |
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. | ||
Rasterizer:getAdvance | Gets font advance. | 0.7.0 | |
Rasterizer:getAscent | Gets ascent height. | 0.7.0 | |
Rasterizer:getDescent | Gets descent height. | 0.7.0 | |
Rasterizer:getGlyphCount | Gets number of glyphs in font. | 0.7.0 | |
Rasterizer:getGlyphData | Gets glyph data of a specified glyph. | 0.7.0 | |
Rasterizer:getHeight | Gets font height. | 0.7.0 | |
Rasterizer:getLineHeight | Gets line height of a font. | 0.7.0 | |
Rasterizer:hasGlyphs | Checks if font contains specified glyphs. | 0.7.0 |
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