UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

19 lines 497 B
import { HostObject, throwNotImplementedOnRNWeb } from "./Host"; export class JsiSkFontMgr extends HostObject { constructor(CanvasKit, ref) { super(CanvasKit, ref, "FontMgr"); } dispose() { this[Symbol.dispose](); } countFamilies() { return this.ref.countFamilies(); } getFamilyName(index) { return this.ref.getFamilyName(index); } matchFamilyStyle(_familyName, _fontStyle) { return throwNotImplementedOnRNWeb(); } } //# sourceMappingURL=JsiSkFontMgr.js.map