ag-grid-enterprise
Version:
AG Grid Enterprise Features
48 lines • 1.99 kB
TypeScript
import type { RenderContext, LayerManager, ZIndexSubOrder } from './node';
import { Node, RedrawType } from './node';
import { BBox } from './bbox';
import type { HdpiCanvas } from '../canvas/hdpiCanvas';
import type { HdpiOffscreenCanvas } from '../canvas/hdpiOffscreenCanvas';
export declare class Group extends Node {
protected readonly opts?: {
readonly layer?: boolean | undefined;
readonly zIndex?: number | undefined;
readonly zIndexSubOrder?: ZIndexSubOrder | undefined;
readonly isVirtual?: boolean | undefined;
readonly name?: string | undefined;
} | undefined;
static className: string;
private clipRect?;
protected layer?: HdpiCanvas | HdpiOffscreenCanvas;
readonly name?: string;
opacity: number;
protected zIndexChanged(): void;
isLayer(): boolean;
constructor(opts?: {
readonly layer?: boolean | undefined;
readonly zIndex?: number | undefined;
readonly zIndexSubOrder?: ZIndexSubOrder | undefined;
readonly isVirtual?: boolean | undefined;
readonly name?: string | undefined;
} | undefined);
_setLayerManager(scene?: LayerManager): void;
protected getComputedOpacity(): number;
protected getVisibility(): boolean;
protected visibilityChanged(): void;
markDirty(source: Node, type?: RedrawType): void;
containsPoint(_x: number, _y: number): boolean;
computeBBox(): BBox;
computeTransformedBBox(): BBox | undefined;
private lastBBox?;
render(renderCtx: RenderContext): void;
private sortChildren;
private clipCtx;
static computeBBox(nodes: Node[]): BBox;
/**
* Transforms bbox given in the canvas coordinate space to bbox in this group's coordinate space and
* sets this group's clipRect to the transformed bbox.
* @param bbox clipRect bbox in the canvas coordinate space.
*/
setClipRectInGroupCoordinateSpace(bbox?: BBox): void;
}
//# sourceMappingURL=group.d.ts.map