FontSettingsClearFontParams class
class FontSettingsClearFontParams extends ChromeObject {
FontSettingsClearFontParams({ScriptCode script, GenericFamily genericFamily}) {
if (script != null) this.script = script;
if (genericFamily != null) this.genericFamily = genericFamily;
}
FontSettingsClearFontParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* The script for which the font should be cleared. If omitted, the global
* script font setting is cleared.
*/
ScriptCode get script => _createScriptCode(jsProxy['script']);
set script(ScriptCode value) => jsProxy['script'] = jsify(value);
/**
* The generic font family for which the font should be cleared.
*/
GenericFamily get genericFamily => _createGenericFamily(jsProxy['genericFamily']);
set genericFamily(GenericFamily value) => jsProxy['genericFamily'] = jsify(value);
}
Extends
ChromeObject > FontSettingsClearFontParams
Constructors
new FontSettingsClearFontParams({ScriptCode script, GenericFamily genericFamily}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
FontSettingsClearFontParams({ScriptCode script, GenericFamily genericFamily}) {
if (script != null) this.script = script;
if (genericFamily != null) this.genericFamily = genericFamily;
}
new FontSettingsClearFontParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
FontSettingsClearFontParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
GenericFamily genericFamily #
The generic font family for which the font should be cleared.
GenericFamily get genericFamily => _createGenericFamily(jsProxy['genericFamily']);
set genericFamily(GenericFamily value) => jsProxy['genericFamily'] = jsify(value);
ScriptCode script #
The script for which the font should be cleared. If omitted, the global script font setting is cleared.
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();