UNPKG

@daign/2d-graphics

Version:

Two dimensional graphics library that implements the daign-2d-pipeline.

17 lines (16 loc) 375 B
import { Box2 } from '@daign/math'; import { StyledGraphicNode } from '../styledGraphicNode'; /** * Class for a mask element. */ export declare class Mask extends StyledGraphicNode { /** * Constructor. */ constructor(); /** * Get the bounding box of all child elements of the mask. * @returns The bounding box. */ getBox(): Box2; }