SYMBOL INDEX (128 symbols across 17 files) FILE: src/canvas.ts class RoughCanvas (line 5) | class RoughCanvas { method constructor (line 10) | constructor(canvas: HTMLCanvasElement, config?: Config) { method draw (line 16) | draw(drawable: Drawable): void { method fillSketch (line 51) | private fillSketch(ctx: CanvasRenderingContext2D, drawing: OpSet, o: R... method _drawToContext (line 69) | private _drawToContext(ctx: CanvasRenderingContext2D, drawing: OpSet, ... method generator (line 92) | get generator(): RoughGenerator { method getDefaultOptions (line 96) | getDefaultOptions(): ResolvedOptions { method line (line 100) | line(x1: number, y1: number, x2: number, y2: number, options?: Options... method rectangle (line 106) | rectangle(x: number, y: number, width: number, height: number, options... method ellipse (line 112) | ellipse(x: number, y: number, width: number, height: number, options?:... method circle (line 118) | circle(x: number, y: number, diameter: number, options?: Options): Dra... method linearPath (line 124) | linearPath(points: Point[], options?: Options): Drawable { method polygon (line 130) | polygon(points: Point[], options?: Options): Drawable { method arc (line 136) | arc(x: number, y: number, width: number, height: number, start: number... method curve (line 142) | curve(points: Point[] | Point[][], options?: Options): Drawable { method path (line 148) | path(d: string, options?: Options): Drawable { FILE: src/core.ts constant SVGNS (line 4) | const SVGNS = 'http://www.w3.org/2000/svg'; type Config (line 6) | interface Config { type DrawingSurface (line 10) | interface DrawingSurface { type Options (line 15) | interface Options { type ResolvedOptions (line 45) | interface ResolvedOptions extends Options { type OpType (line 69) | type OpType = 'move' | 'bcurveTo' | 'lineTo'; type OpSetType (line 70) | type OpSetType = 'path' | 'fillPath' | 'fillSketch'; type Op (line 72) | interface Op { type OpSet (line 77) | interface OpSet { type Drawable (line 84) | interface Drawable { type PathInfo (line 90) | interface PathInfo { FILE: src/fillers/dashed-filler.ts class DashedFiller (line 6) | class DashedFiller implements PatternFiller { method constructor (line 9) | constructor(helper: RenderHelper) { method fillPolygons (line 13) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { method dashedLine (line 18) | private dashedLine(lines: Line[], o: ResolvedOptions): Op[] { FILE: src/fillers/dot-filler.ts class DotFiller (line 6) | class DotFiller implements PatternFiller { method constructor (line 9) | constructor(helper: RenderHelper) { method fillPolygons (line 13) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { method dotsOnLines (line 19) | private dotsOnLines(lines: Line[], o: ResolvedOptions): OpSet { FILE: src/fillers/filler-interface.ts type PatternFiller (line 4) | interface PatternFiller { type RenderHelper (line 8) | interface RenderHelper { FILE: src/fillers/filler.ts function getFiller (line 12) | function getFiller(o: ResolvedOptions, helper: RenderHelper): PatternFil... FILE: src/fillers/hachure-filler.ts class HachureFiller (line 6) | class HachureFiller implements PatternFiller { method constructor (line 9) | constructor(helper: RenderHelper) { method fillPolygons (line 13) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { method _fillPolygons (line 17) | protected _fillPolygons(polygonList: Point[][], o: ResolvedOptions): O... method renderLines (line 23) | protected renderLines(lines: Line[], o: ResolvedOptions): Op[] { FILE: src/fillers/hatch-filler.ts class HatchFiller (line 5) | class HatchFiller extends HachureFiller { method fillPolygons (line 6) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { FILE: src/fillers/scan-line-hachure.ts function polygonHachureLines (line 5) | function polygonHachureLines(polygonList: Point[][], o: ResolvedOptions)... FILE: src/fillers/zigzag-filler.ts class ZigZagFiller (line 6) | class ZigZagFiller extends HachureFiller { method fillPolygons (line 7) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { FILE: src/fillers/zigzag-line-filler.ts class ZigZagLineFiller (line 6) | class ZigZagLineFiller implements PatternFiller { method constructor (line 9) | constructor(helper: RenderHelper) { method fillPolygons (line 13) | fillPolygons(polygonList: Point[][], o: ResolvedOptions): OpSet { method zigzagLines (line 21) | private zigzagLines(lines: Line[], zo: number, o: ResolvedOptions): Op... FILE: src/generator.ts constant NOS (line 9) | const NOS = 'none'; class RoughGenerator (line 11) | class RoughGenerator { method constructor (line 37) | constructor(config?: Config) { method newSeed (line 44) | static newSeed(): number { method _o (line 48) | private _o(options?: Options): ResolvedOptions { method _d (line 52) | private _d(shape: string, sets: OpSet[], options: ResolvedOptions): Dr... method line (line 56) | line(x1: number, y1: number, x2: number, y2: number, options?: Options... method rectangle (line 61) | rectangle(x: number, y: number, width: number, height: number, options... method ellipse (line 79) | ellipse(x: number, y: number, width: number, height: number, options?:... method circle (line 99) | circle(x: number, y: number, diameter: number, options?: Options): Dra... method linearPath (line 105) | linearPath(points: Point[], options?: Options): Drawable { method arc (line 110) | arc(x: number, y: number, width: number, height: number, start: number... method curve (line 131) | curve(points: Point[] | Point[][], options?: Options): Drawable { method polygon (line 174) | polygon(points: Point[], options?: Options): Drawable { method path (line 191) | path(d: string, options?: Options): Drawable { method opsToPath (line 234) | opsToPath(drawing: OpSet, fixedDecimals?: number): string { method toPaths (line 253) | toPaths(drawable: Drawable): PathInfo[] { method fillSketch (line 287) | private fillSketch(drawing: OpSet, o: ResolvedOptions): PathInfo { method _mergedShape (line 300) | private _mergedShape(input: Op[]): Op[] { FILE: src/geometry.ts type Point (line 1) | type Point = [number, number]; type Line (line 2) | type Line = [Point, Point]; type Rectangle (line 4) | interface Rectangle { function lineLength (line 11) | function lineLength(line: Line): number { FILE: src/math.ts function randomSeed (line 1) | function randomSeed(): number { class Random (line 5) | class Random { method constructor (line 8) | constructor(seed: number) { method next (line 12) | next(): number { FILE: src/renderer.ts type EllipseParams (line 8) | interface EllipseParams { function line (line 21) | function line(x1: number, y1: number, x2: number, y2: number, o: Resolve... function linearPath (line 25) | function linearPath(points: Point[], close: boolean, o: ResolvedOptions)... function polygon (line 42) | function polygon(points: Point[], o: ResolvedOptions): OpSet { function rectangle (line 46) | function rectangle(x: number, y: number, width: number, height: number, ... function curve (line 56) | function curve(inputPoints: Point[] | Point[][], o: ResolvedOptions): Op... type EllipseResult (line 87) | interface EllipseResult { function ellipse (line 92) | function ellipse(x: number, y: number, width: number, height: number, o:... function generateEllipseParams (line 97) | function generateEllipseParams(width: number, height: number, o: Resolve... function ellipseWithParams (line 109) | function ellipseWithParams(x: number, y: number, o: ResolvedOptions, ell... function arc (line 123) | function arc(x: number, y: number, width: number, height: number, start:... function svgPath (line 163) | function svgPath(path: string, o: ResolvedOptions): OpSet { function solidFillPolygon (line 196) | function solidFillPolygon(polygonList: Point[][], o: ResolvedOptions): O... function patternFillPolygons (line 213) | function patternFillPolygons(polygonList: Point[][], o: ResolvedOptions)... function patternFillArc (line 217) | function patternFillArc(x: number, y: number, width: number, height: num... function randOffset (line 244) | function randOffset(x: number, o: ResolvedOptions): number { function randOffsetWithRange (line 248) | function randOffsetWithRange(min: number, max: number, o: ResolvedOption... function doubleLineFillOps (line 252) | function doubleLineFillOps(x1: number, y1: number, x2: number, y2: numbe... function cloneOptionsAlterSeed (line 258) | function cloneOptionsAlterSeed(ops: ResolvedOptions): ResolvedOptions { function random (line 267) | function random(ops: ResolvedOptions): number { function _offset (line 274) | function _offset(min: number, max: number, ops: ResolvedOptions, roughne... function _offsetOpt (line 278) | function _offsetOpt(x: number, ops: ResolvedOptions, roughnessGain = 1):... function _doubleLine (line 282) | function _doubleLine(x1: number, y1: number, x2: number, y2: number, o: ... function _line (line 292) | function _line(x1: number, y1: number, x2: number, y2: number, o: Resolv... function _curveWithOffset (line 363) | function _curveWithOffset(points: Point[], offset: number, o: ResolvedOp... function _curve (line 391) | function _curve(points: Point[], closePoint: Point | null, o: ResolvedOp... function _computeEllipsePoints (line 426) | function _computeEllipsePoints(increment: number, cx: number, cy: number... function _arc (line 486) | function _arc(increment: number, cx: number, cy: number, rx: number, ry:... function _bezierTo (line 510) | function _bezierTo(x1: number, y1: number, x2: number, y2: number, x: nu... FILE: src/rough.ts method canvas (line 7) | canvas(canvas: HTMLCanvasElement, config?: Config): RoughCanvas { method svg (line 11) | svg(svg: SVGSVGElement, config?: Config): RoughSVG { method generator (line 15) | generator(config?: Config): RoughGenerator { method newSeed (line 19) | newSeed(): number { FILE: src/svg.ts class RoughSVG (line 5) | class RoughSVG { method constructor (line 9) | constructor(svg: SVGSVGElement, config?: Config) { method draw (line 14) | draw(drawable: Drawable): SVGGElement { method fillSketch (line 60) | private fillSketch(doc: Document, drawing: OpSet, o: ResolvedOptions):... method generator (line 79) | get generator(): RoughGenerator { method getDefaultOptions (line 83) | getDefaultOptions(): ResolvedOptions { method opsToPath (line 87) | opsToPath(drawing: OpSet, fixedDecimalPlaceDigits?: number): string { method line (line 91) | line(x1: number, y1: number, x2: number, y2: number, options?: Options... method rectangle (line 96) | rectangle(x: number, y: number, width: number, height: number, options... method ellipse (line 101) | ellipse(x: number, y: number, width: number, height: number, options?:... method circle (line 106) | circle(x: number, y: number, diameter: number, options?: Options): SVG... method linearPath (line 111) | linearPath(points: Point[], options?: Options): SVGGElement { method polygon (line 116) | polygon(points: Point[], options?: Options): SVGGElement { method arc (line 121) | arc(x: number, y: number, width: number, height: number, start: number... method curve (line 126) | curve(points: Point[] | Point[][], options?: Options): SVGGElement { method path (line 131) | path(d: string, options?: Options): SVGGElement {