import { IPoint, Rectangle } from "pixi.js"; import { DBaseBackgroundOptions } from "./d-base"; import { DCanvas, DCanvasOptions, DThemeCanvas } from "./d-canvas"; import { DDiagramCanvasTile, DDiagramCanvasTileOptions } from "./d-diagram-canvas-tile"; import { DDiagramDataMapper } from "./d-diagram-data-mapper"; import { DDiagramLayerContainer } from "./d-diagram-layer-container"; import { EShape } from "./shape/e-shape"; export interface DDiagramCanvasBackgroundOptions extends DBaseBackgroundOptions { base?: number | null; } export interface DDiagramCanvasBaseOptions extends DCanvasOptions { label?: string; category?: string | null; summary?: string; description?: string; tile?: DDiagramCanvasTileOptions; background?: DDiagramCanvasBackgroundOptions; ambient?: boolean; } export interface DThemeDiagramCanvasBase extends DThemeCanvas { isAmbient(): boolean; getBackgroundBase(): number | null; getLocalBoundsLimit(): number; } export declare class DDiagramCanvasBase = DDiagramCanvasBaseOptions> extends DCanvas { protected static WORK_LOCAL_BOUNDS?: Rectangle; protected _layer: DDiagramLayerContainer; protected _label: string; protected _category: string | null; protected _summary: string; protected _description: string; protected _tile: DDiagramCanvasTile; protected _localBoundsLimit: number; constructor(options?: OPTIONS); protected isAmbient(theme: THEME, options?: OPTIONS): boolean; protected toBackgroundBase(theme: THEME, options?: OPTIONS): number | null; get label(): string; set label(label: string); get category(): string | null; set category(category: string | null); get summary(): string; set summary(summary: string); get description(): string; set description(description: string); get tile(): DDiagramCanvasTile; get layer(): DDiagramLayerContainer; initialize(shapes: EShape[], mapper?: DDiagramDataMapper | null): void; destroy(): void; protected onDestroy(): void; hitTest(global: IPoint, onHit?: (shape: EShape) => boolean): EShape | null; getLocalBounds(result?: Rectangle): Rectangle; protected getType(): string; }