UNPKG

@nodert-win10/windows.globalization.fonts

Version:

Use the Windows.Globalization.Fonts UWP API directly from Node.js

59 lines (48 loc) 1.87 kB
FontWeight = (function () { var cls = function FontWeight() { this.weight = new Number(); }; return cls; }) (); exports.FontWeight = FontWeight; LanguageFont = (function () { var cls = function LanguageFont() { this.fontFamily = new String(); this.fontStretch = new Number(); this.fontStyle = new Number(); this.fontWeight = new FontWeight(); this.scaleFactor = new Number(); }; return cls; }) (); exports.LanguageFont = LanguageFont; LanguageFontGroup = (function () { var cls = function LanguageFontGroup() { this.documentAlternate1Font = new LanguageFont(); this.documentAlternate2Font = new LanguageFont(); this.documentHeadingFont = new LanguageFont(); this.fixedWidthTextFont = new LanguageFont(); this.modernDocumentFont = new LanguageFont(); this.traditionalDocumentFont = new LanguageFont(); this.uICaptionFont = new LanguageFont(); this.uIHeadingFont = new LanguageFont(); this.uINotificationHeadingFont = new LanguageFont(); this.uITextFont = new LanguageFont(); this.uITitleFont = new LanguageFont(); }; var cls = function LanguageFontGroup(languageTag) { this.documentAlternate1Font = new LanguageFont(); this.documentAlternate2Font = new LanguageFont(); this.documentHeadingFont = new LanguageFont(); this.fixedWidthTextFont = new LanguageFont(); this.modernDocumentFont = new LanguageFont(); this.traditionalDocumentFont = new LanguageFont(); this.uICaptionFont = new LanguageFont(); this.uIHeadingFont = new LanguageFont(); this.uINotificationHeadingFont = new LanguageFont(); this.uITextFont = new LanguageFont(); this.uITitleFont = new LanguageFont(); }; return cls; }) (); exports.LanguageFontGroup = LanguageFontGroup;