UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

9 lines (8 loc) 358 B
import type { DrawingContext, LineProps } from "../../types"; import { JsiDrawingNode } from "../DrawingNode"; import type { NodeContext } from "../Node"; export declare class LineNode extends JsiDrawingNode<LineProps, null> { constructor(ctx: NodeContext, props: LineProps); deriveProps(): null; draw({ canvas, paint }: DrawingContext): void; }