lucasFont.enumFontFamilies
Jump to navigation
Jump to search
Function
Client Only
Online and Offline
Available since Client 1.0.0
void lucasFont.enumFontFamilies(function handler)
The lucasFont.enumFontFamilies function is used to enumerate through all font families.
Parameters
1) | function | handler | The function to invoke for each font family. |
Return
void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
Example 1 - JavaScript:
lucasFont.enumFontFamilies(function(name, styles) {
console.log("Font: " + name + ", Styles: " + styles.join(", "));
});
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
font.measure
font.render
font.size