@daign/2d-graphics
Version:
Two dimensional graphics library that implements the daign-2d-pipeline.
17 lines (16 loc) • 389 B
TypeScript
import { Box2 } from '@daign/math';
import { StyledGraphicNode } from '../styledGraphicNode';
/**
* Class for a clip path element.
*/
export declare class ClipPath extends StyledGraphicNode {
/**
* Constructor.
*/
constructor();
/**
* Get the bounding box of all child elements of the clip path.
* @returns The bounding box.
*/
getBox(): Box2;
}