UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

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