UNPKG

g2o-canvas

Version:
19 lines (16 loc) 527 B
import { Board } from 'g2o'; interface BoardOptions { boundingBox?: { left: number; top: number; right: number; bottom: number; }; } /** * A convenience function for initializing a new GraphicsBoard using SVG. * @param elementOrId HTML identifier (id) of element in which the board is rendered. * @param options An object that sets some of the board properties. */ declare function initBoard(elementOrId: string | HTMLElement, options?: BoardOptions): Board; export { initBoard };