mirror of
https://github.com/rough-stuff/rough.git
synced 2026-04-22 03:00:28 -04:00
14 lines
511 B
TypeScript
14 lines
511 B
TypeScript
import { Drawable, OpSet, ResolvedOptions } from './core';
|
|
import { RoughRenderer } from './renderer';
|
|
export declare abstract class RoughSVGBase {
|
|
protected svg: SVGSVGElement;
|
|
protected _defs?: SVGDefsElement;
|
|
constructor(svg: SVGSVGElement);
|
|
abstract getDefaultOptions(): ResolvedOptions;
|
|
abstract opsToPath(drawing: OpSet): string;
|
|
static createRenderer(): RoughRenderer;
|
|
readonly defs: SVGDefsElement | null;
|
|
draw(drawable: Drawable): SVGGElement;
|
|
private fillSketch;
|
|
}
|