UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

14 lines (13 loc) 525 B
import type { GroupProps, DrawingContext, RenderNode, SkDOM } from "../dom/types"; import type { Skia } from "../skia/types"; import type { DependencyManager } from "./DependencyManager"; export declare class Container { depMgr: DependencyManager; redraw: () => void; getNativeId: () => number; private _root; Sk: SkDOM; constructor(Skia: Skia, depMgr: DependencyManager, redraw?: () => void, getNativeId?: () => number); draw(ctx: DrawingContext): void; get root(): RenderNode<GroupProps>; }