Interface administrators, moderator
2,605
edits
(Created page with "{{ScriptItem |endpoint = client |type = function |name = lucasFont.enumFontFamilies |usage = enumerate through all font families |parameters = function handler |parameter1 = f...") |
No edit summary |
||
Line 9: | Line 9: | ||
|returnFail1 = void | |returnFail1 = void | ||
|callbackParameters = string familyName, array<int index, string styleName> styleNames | |callbackParameters = string familyName, array<int index, string styleName> styleNames | ||
}} | |exampleJS = lucasFont.enumFontFamilies(function(name, styles) { | ||
console.log("Font: " + name + ", Styles: " + styles.join(", ")); | |||
}); | |||
|}} |