Difference between revisions of "Rasterizer:getGlyphData"

(Created page with "{{newin|0.7.0|070|type=function}} TODO == See Also == * parent::Rasterizer Category:Functions {{#set:Description=TODO}} == Other Languages == {{i18n|Rasterizer:g...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{newin|[[0.7.0]]|070|type=function}}
 
{{newin|[[0.7.0]]|070|type=function}}
TODO
+
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]]
 +
* [[Constructs::GlyphData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=TODO}}
+
{{#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.

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