UNPKG

@daign/2d-graphics

Version:

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

14 lines (13 loc) 388 B
import { StyledGraphicNode } from '../styledGraphicNode'; import { SinglePointElement } from '../basic-elements'; /** * Class for a button object at an anchor position. */ export declare class ButtonObject extends SinglePointElement { callback: () => void; buttonShape: StyledGraphicNode | undefined; /** * Constructor. */ constructor(callback: () => void); }