Difference between revisions of "Rasterizer:getGlyphData"

m (Some raw info about it (from love source code) because it seems not to be documented)
m
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
+
Gets glyph data of a specified glyph.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 25: Line 25:
 
* [[GlyphData]]
 
* [[GlyphData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets glyph data of a specified glyph}}
+
{{#set:Description=Gets glyph data of a specified glyph.}}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Rasterizer:getGlyphData}}
 
{{i18n|Rasterizer:getGlyphData}}

Revision as of 13:37, 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