UNPKG

konva

Version:

HTML5 2d canvas library for interactive graphics, design editors, whiteboards, and diagrams.

21 lines (20 loc) 592 B
import type { ContainerConfig } from './Container.ts'; import { Container } from './Container.ts'; import type { Node } from './Node.ts'; import type { Shape } from './Shape.ts'; export interface GroupConfig extends ContainerConfig { } /** * Group constructor. Groups are used to contain shapes or other groups. * @constructor * @memberof Konva * @augments Konva.Container * @param {Object} config * @@nodeParams * @@containerParams * @example * var group = new Konva.Group(); */ export declare class Group extends Container<Group | Shape> { _validateAdd(child: Node): void; }