UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

21 lines 438 B
import { NodeType } from "../../types"; import { JsiDrawingNode } from "../DrawingNode"; export class DiffRectNode extends JsiDrawingNode { constructor(ctx, props) { super(ctx, NodeType.DiffRect, props); } deriveProps() { return null; } draw({ canvas, paint }) { const { outer, inner } = this.props; canvas.drawDRRect(outer, inner, paint); } } //# sourceMappingURL=DiffRectNode.js.map