UNPKG

@gravity-ui/graph

Version:

Modern graph editor component

19 lines (18 loc) 633 B
import { Component } from "../../../../lib/Component"; import { TRect } from "../../../../utils/types/shapes"; import { Background } from "./Background"; import { TBelowLayerContext } from "./BelowLayer"; export declare class PointerGrid extends Component<TRect, TBelowLayerContext> { props: TRect; context: TBelowLayerContext; private fakeCanvasContext?; private pattern; private activePattern; private currentDotsColor; constructor(props: TRect, parent: Background); render(): void; willIterate(): void; private initPattern; private createPattern; private createFakeCanvasContext; }