On this page
FontFace factory constructor
FontFace(Source
@DomName('FontFace.FontFace')
@DocsEditable()
factory FontFace(String family, Object source, [Map descriptors]) {
if (descriptors != null) {
var descriptors_1 = convertDartToNative_Dictionary(descriptors);
return _blink.BlinkFontFace.instance
.constructorCallback_3_(family, source, descriptors_1);
}
return _blink.BlinkFontFace.instance.constructorCallback_2_(family, source);
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/FontFace/FontFace.html