FontSettingsGetFontParams class
class FontSettingsGetFontParams extends ChromeObject {
FontSettingsGetFontParams({ScriptCode script, GenericFamily genericFamily}) {
if (script != null) this.script = script;
if (genericFamily != null) this.genericFamily = genericFamily;
}
FontSettingsGetFontParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* The script for which the font should be retrieved. If omitted, the font
* setting for the global script (script code "Zyyy") is retrieved.
*/
ScriptCode get script => _createScriptCode(jsProxy['script']);
set script(ScriptCode value) => jsProxy['script'] = jsify(value);
/**
* The generic font family for which the font should be retrieved.
*/
GenericFamily get genericFamily => _createGenericFamily(jsProxy['genericFamily']);
set genericFamily(GenericFamily value) => jsProxy['genericFamily'] = jsify(value);
}
Extends
ChromeObject > FontSettingsGetFontParams
Constructors
new FontSettingsGetFontParams({ScriptCode script, GenericFamily genericFamily}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
FontSettingsGetFontParams({ScriptCode script, GenericFamily genericFamily}) {
if (script != null) this.script = script;
if (genericFamily != null) this.genericFamily = genericFamily;
}
new FontSettingsGetFontParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
FontSettingsGetFontParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
GenericFamily genericFamily #
The generic font family for which the font should be retrieved.
GenericFamily get genericFamily => _createGenericFamily(jsProxy['genericFamily']);
set genericFamily(GenericFamily value) => jsProxy['genericFamily'] = jsify(value);
ScriptCode script #
The script for which the font should be retrieved. If omitted, the font setting for the global script (script code "Zyyy") is retrieved.
ScriptCode get script => _createScriptCode(jsProxy['script']);
set script(ScriptCode value) => jsProxy['script'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();