lucasFont.enumFontFamilies

From GTA Connected
Revision as of 01:37, 7 December 2024 by Vortrex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png font.measure
icon-iii.png icon-vc.png icon-sa.png icon-iv.png font.render
icon-iii.png icon-vc.png icon-sa.png icon-iv.png font.size