Difference between revisions of "Rasterizer:getGlyphData"
Buckle2000 (talk | contribs) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{newin|[[0.7.0]]|070|type=function}} | {{newin|[[0.7.0]]|070|type=function}} | ||
− | + | Gets glyph data of a specified glyph. | |
+ | == Function == | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | glyphData = Rasterizer:getGlyphData( glyph ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|string|glyph|Glyph}} | ||
+ | === Returns === | ||
+ | {{param|GlyphData|glyphData|Glyph data}} | ||
+ | |||
+ | == Function == | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | glyphData = Rasterizer:getGlyphData( glyphNumber ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|number|glyphNumber|Glyph number}} | ||
+ | === Returns === | ||
+ | {{param|GlyphData|glyphData|Glyph data}} | ||
== See Also == | == See Also == | ||
* [[parent::Rasterizer]] | * [[parent::Rasterizer]] | ||
− | * [[GlyphData]] | + | * [[Constructs::GlyphData]] |
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets glyph data of a specified glyph.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Rasterizer:getGlyphData}} | {{i18n|Rasterizer:getGlyphData}} |
Latest revision as of 13:58, 16 April 2020
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Gets glyph data of a specified glyph.
Contents
Function
Synopsis
glyphData = Rasterizer:getGlyphData( glyph )
Arguments
string glyph
- Glyph
Returns
GlyphData glyphData
- Glyph data
Function
Synopsis
glyphData = Rasterizer:getGlyphData( glyphNumber )
Arguments
number glyphNumber
- Glyph number
Returns
GlyphData glyphData
- Glyph data
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