UNPKG

@antv/s2

Version:

effective spreadsheet render core lib

23 lines (22 loc) 702 B
import { CellType } from '../common/constant'; import { type ViewMeta } from '../common/interface'; import type { SpreadSheet } from '../sheet-type'; import { DataCell } from './data-cell'; /** * Cell for panelGroup area */ export declare class MergedCell extends DataCell { cells: DataCell[]; get cellType(): CellType; constructor(spreadsheet: SpreadSheet, cells: DataCell[], meta?: ViewMeta); handleRestOptions(...[cells]: [DataCell[]]): void; update(): void; protected initCell(): void; protected afterDrawText(): void; /** * Draw merged cells background */ protected drawBackgroundShape(): void; drawTextShape(): void; drawBorders(): void; }