UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

14 lines (13 loc) 578 B
import type { DrawingContext, ImageSVGProps } from "../../types"; import { JsiDrawingNode } from "../DrawingNode"; import type { NodeContext } from "../Node"; export declare class ImageSVGNode extends JsiDrawingNode<ImageSVGProps, Pick<ImageSVGProps, "x" | "y" | "width" | "height">> { constructor(ctx: NodeContext, props: ImageSVGProps); deriveProps(): import("../../..").SkRect | { x: number | undefined; y: number | undefined; width: number | undefined; height: number | undefined; }; draw({ canvas }: DrawingContext): void; }