mirror of
https://github.com/rough-stuff/rough.git
synced 2026-01-14 17:07:58 -05:00
16 lines
742 B
TypeScript
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;
|