Files
rough/bin/rough.d.ts
2018-06-18 13:08:58 -07:00

16 lines
742 B
TypeScript

import { Config, DrawingSurface } from './core';
import { RoughCanvas } from './canvas';
import { RoughRenderer } from './renderer';
import { RoughGenerator } from './generator';
import { RoughGeneratorAsync } from './generator-async';
import { RoughCanvasAsync } from './canvas-async';
import { RoughSVG } from './svg';
import { RoughSVGAsync } from './svg-async';
declare const _default: {
canvas(canvas: HTMLCanvasElement, config?: Config | undefined): RoughCanvas | RoughCanvasAsync;
svg(svg: SVGSVGElement, config?: Config | undefined): RoughSVG | RoughSVGAsync;
createRenderer(): RoughRenderer;
generator(config: Config | null, surface: DrawingSurface): RoughGenerator | RoughGeneratorAsync;
};
export default _default;