Interface CellContext

interface CellContext {
    col: number;
    row: number;
    getContext(): CanvasRenderingContext2D;
    getDrawRect(): null | RectProps;
    getRect(): RectProps;
    getSelection(): {
        range: CellRange;
        select: CellAddress;
    };
    setRectFilter(rectFilter: ((base: RectProps) => RectProps)): void;
    toCurrentContext(): CellContext;
}

Properties

col: number
row: number

Methods

  • Returns CanvasRenderingContext2D