SYMBOL INDEX (1073 symbols across 54 files) FILE: gulpfile.mjs function build (line 22) | function build() { FILE: src/Animation.ts class Animation (line 40) | class Animation { method constructor (line 53) | constructor(func: AnimationFn, layers?) { method setLayers (line 64) | setLayers(layers: null | Layer | Layer[]) { method getLayers (line 79) | getLayers() { method addLayer (line 89) | addLayer(layer: Layer) { method isRunning (line 109) | isRunning() { method start (line 127) | start() { method stop (line 140) | stop() { method _updateFrameObject (line 144) | _updateFrameObject(time: number) { method _addAnimation (line 155) | static _addAnimation(anim) { method _removeAnimation (line 159) | static _removeAnimation(anim) { method _runFrames (line 172) | static _runFrames() { method _animationLoop (line 222) | static _animationLoop() { method _handleAnimation (line 231) | static _handleAnimation() { FILE: src/BezierFunctions.ts function BFunc (line 750) | function BFunc(xs: number[], ys: number[], t: number) { FILE: src/Canvas.ts function getDevicePixelRatio (line 8) | function getDevicePixelRatio() { type ICanvasConfig (line 29) | interface ICanvasConfig { class Canvas (line 47) | class Canvas { method constructor (line 56) | constructor(config: ICanvasConfig) { method getContext (line 81) | getContext() { method getPixelRatio (line 92) | getPixelRatio() { method setPixelRatio (line 110) | setPixelRatio(pixelRatio) { method setWidth (line 118) | setWidth(width) { method setHeight (line 127) | setHeight(height) { method getWidth (line 135) | getWidth() { method getHeight (line 138) | getHeight() { method setSize (line 141) | setSize(width, height) { method toDataURL (line 153) | toDataURL(mimeType, quality) { class SceneCanvas (line 173) | class SceneCanvas extends Canvas { method constructor (line 174) | constructor( class HitCanvas (line 185) | class HitCanvas extends Canvas { method constructor (line 187) | constructor(config: ICanvasConfig = { width: 0, height: 0 }) { FILE: src/Container.ts type ClipFuncOutput (line 10) | type ClipFuncOutput = type ContainerConfig (line 15) | interface ContainerConfig extends NodeConfig { method getChildren (line 55) | getChildren(filterFunc?: (item: Node) => boolean) { method hasChildren (line 68) | hasChildren() { method removeChildren (line 77) | removeChildren() { method destroyChildren (line 94) | destroyChildren() { method add (line 119) | add(...children: ChildType[]) { method destroy (line 146) | destroy() { method find (line 193) | find(selector): Array { method findOne (line 216) | findOne( method _generalFind (line 222) | _generalFind( method _descendants (line 241) | private _descendants(fn: (n: Node) => boolean) { method toObject (line 260) | toObject() { method isAncestorOf (line 278) | isAncestorOf(node: Node) { method clone (line 289) | clone(obj?: any) { method getAllIntersections (line 311) | getAllIntersections(pos) { method _clearSelfAndDescendantCache (line 322) | _clearSelfAndDescendantCache(attr?: string) { method _setChildrenIndices (line 333) | _setChildrenIndices() { method drawScene (line 339) | drawScene(can?: SceneCanvas, top?: Node, bufferCanvas?: SceneCanvas) { method drawHit (line 362) | drawHit(can?: HitCanvas, top?: Node) { method _drawChildren (line 384) | _drawChildren(drawMethod, canvas, top, bufferCanvas?) { method getClientRect (line 436) | getClientRect( FILE: src/Context.ts function simplifyArray (line 8) | function simplifyArray(arr: Array) { constant COMMA (line 27) | const COMMA = ',', constant OPEN_PAREN (line 27) | const COMMA = ',', constant CLOSE_PAREN (line 27) | const COMMA = ',', constant OPEN_PAREN_BRACKET (line 27) | const COMMA = ',', constant CLOSE_BRACKET_PAREN (line 27) | const COMMA = ',', constant SEMICOLON (line 27) | const COMMA = ',', constant DOUBLE_PAREN (line 27) | const COMMA = ',', constant EQUALS (line 27) | const COMMA = ',', constant CONTEXT_METHODS (line 27) | const COMMA = ',', constant CONTEXT_PROPERTIES (line 72) | const CONTEXT_PROPERTIES = [ function isCSSFiltersSupported (line 99) | function isCSSFiltersSupported(): boolean { type ExtendedCanvasRenderingContext2D (line 118) | interface ExtendedCanvasRenderingContext2D extends CanvasRenderingContex... class Context (line 144) | class Context { method constructor (line 149) | constructor(canvas: Canvas) { method fillShape (line 164) | fillShape(shape: Shape) { method _fill (line 170) | _fill(shape: Shape) { method strokeShape (line 179) | strokeShape(shape: Shape) { method _stroke (line 185) | _stroke(shape: Shape) { method fillStrokeShape (line 195) | fillStrokeShape(shape: Shape) { method getTrace (line 205) | getTrace(relaxed?: boolean, rounded?: boolean) { method clearTrace (line 250) | clearTrace() { method _trace (line 253) | _trace(str) { method reset (line 269) | reset() { method getCanvas (line 279) | getCanvas() { method clear (line 292) | clear(bounds?: IRect) { method _applyLineCap (line 311) | _applyLineCap(shape: Shape) { method _applyOpacity (line 317) | _applyOpacity(shape: Node) { method _applyLineJoin (line 323) | _applyLineJoin(shape: Shape) { method _applyMiterLimit (line 329) | _applyMiterLimit(shape: Shape) { method setAttr (line 336) | setAttr(attr: string, val) { method arc (line 345) | arc( method arcTo (line 361) | arcTo(x1: number, y1: number, x2: number, y2: number, radius: number) { method beginPath (line 369) | beginPath() { method bezierCurveTo (line 378) | bezierCurveTo( method clearRect (line 393) | clearRect(x: number, y: number, width: number, height: number) { method clip (line 403) | clip(...args: any[]) { method closePath (line 411) | closePath() { method createImageData (line 419) | createImageData(width, height) { method createLinearGradient (line 432) | createLinearGradient(x0: number, y0: number, x1: number, y1: number) { method createPattern (line 440) | createPattern(image: CanvasImageSource, repetition: string | null) { method createRadialGradient (line 448) | createRadialGradient( method drawImage (line 463) | drawImage( method ellipse (line 500) | ellipse( method isPointInPath (line 526) | isPointInPath( method fill (line 544) | fill(...args: any[]) { method fillRect (line 553) | fillRect(x: number, y: number, width: number, height: number) { method strokeRect (line 561) | strokeRect(x: number, y: number, width: number, height: number) { method fillText (line 569) | fillText(text: string, x: number, y: number, maxWidth?: number) { method measureText (line 581) | measureText(text: string) { method getImageData (line 589) | getImageData(sx: number, sy: number, sw: number, sh: number) { method lineTo (line 597) | lineTo(x: number, y: number) { method moveTo (line 605) | moveTo(x: number, y: number) { method rect (line 613) | rect(x: number, y: number, width: number, height: number) { method roundRect (line 621) | roundRect( method putImageData (line 635) | putImageData(imageData: ImageData, dx: number, dy: number) { method quadraticCurveTo (line 643) | quadraticCurveTo(cpx: number, cpy: number, x: number, y: number) { method restore (line 651) | restore() { method rotate (line 659) | rotate(angle: number) { method save (line 667) | save() { method scale (line 675) | scale(x: number, y: number) { method setLineDash (line 683) | setLineDash(segments: number[]) { method getLineDash (line 702) | getLineDash() { method setTransform (line 710) | setTransform( method stroke (line 725) | stroke(path2d?: Path2D) { method strokeText (line 737) | strokeText(text: string, x: number, y: number, maxWidth?: number) { method transform (line 745) | transform(a: number, b: number, c: number, d: number, e: number, f: nu... method translate (line 753) | translate(x: number, y: number) { method _enableTrace (line 756) | _enableTrace() { method _applyGlobalCompositeOperation (line 803) | _applyGlobalCompositeOperation(node) { type CanvasContextProps (line 813) | type CanvasContextProps = Pick< type Context (line 818) | interface Context extends CanvasContextProps {} method constructor (line 149) | constructor(canvas: Canvas) { method fillShape (line 164) | fillShape(shape: Shape) { method _fill (line 170) | _fill(shape: Shape) { method strokeShape (line 179) | strokeShape(shape: Shape) { method _stroke (line 185) | _stroke(shape: Shape) { method fillStrokeShape (line 195) | fillStrokeShape(shape: Shape) { method getTrace (line 205) | getTrace(relaxed?: boolean, rounded?: boolean) { method clearTrace (line 250) | clearTrace() { method _trace (line 253) | _trace(str) { method reset (line 269) | reset() { method getCanvas (line 279) | getCanvas() { method clear (line 292) | clear(bounds?: IRect) { method _applyLineCap (line 311) | _applyLineCap(shape: Shape) { method _applyOpacity (line 317) | _applyOpacity(shape: Node) { method _applyLineJoin (line 323) | _applyLineJoin(shape: Shape) { method _applyMiterLimit (line 329) | _applyMiterLimit(shape: Shape) { method setAttr (line 336) | setAttr(attr: string, val) { method arc (line 345) | arc( method arcTo (line 361) | arcTo(x1: number, y1: number, x2: number, y2: number, radius: number) { method beginPath (line 369) | beginPath() { method bezierCurveTo (line 378) | bezierCurveTo( method clearRect (line 393) | clearRect(x: number, y: number, width: number, height: number) { method clip (line 403) | clip(...args: any[]) { method closePath (line 411) | closePath() { method createImageData (line 419) | createImageData(width, height) { method createLinearGradient (line 432) | createLinearGradient(x0: number, y0: number, x1: number, y1: number) { method createPattern (line 440) | createPattern(image: CanvasImageSource, repetition: string | null) { method createRadialGradient (line 448) | createRadialGradient( method drawImage (line 463) | drawImage( method ellipse (line 500) | ellipse( method isPointInPath (line 526) | isPointInPath( method fill (line 544) | fill(...args: any[]) { method fillRect (line 553) | fillRect(x: number, y: number, width: number, height: number) { method strokeRect (line 561) | strokeRect(x: number, y: number, width: number, height: number) { method fillText (line 569) | fillText(text: string, x: number, y: number, maxWidth?: number) { method measureText (line 581) | measureText(text: string) { method getImageData (line 589) | getImageData(sx: number, sy: number, sw: number, sh: number) { method lineTo (line 597) | lineTo(x: number, y: number) { method moveTo (line 605) | moveTo(x: number, y: number) { method rect (line 613) | rect(x: number, y: number, width: number, height: number) { method roundRect (line 621) | roundRect( method putImageData (line 635) | putImageData(imageData: ImageData, dx: number, dy: number) { method quadraticCurveTo (line 643) | quadraticCurveTo(cpx: number, cpy: number, x: number, y: number) { method restore (line 651) | restore() { method rotate (line 659) | rotate(angle: number) { method save (line 667) | save() { method scale (line 675) | scale(x: number, y: number) { method setLineDash (line 683) | setLineDash(segments: number[]) { method getLineDash (line 702) | getLineDash() { method setTransform (line 710) | setTransform( method stroke (line 725) | stroke(path2d?: Path2D) { method strokeText (line 737) | strokeText(text: string, x: number, y: number, maxWidth?: number) { method transform (line 745) | transform(a: number, b: number, c: number, d: number, e: number, f: nu... method translate (line 753) | translate(x: number, y: number) { method _enableTrace (line 756) | _enableTrace() { method _applyGlobalCompositeOperation (line 803) | _applyGlobalCompositeOperation(node) { method get (line 822) | get() { method set (line 825) | set(val) { class SceneContext (line 831) | class SceneContext extends Context { method constructor (line 832) | constructor(canvas: Canvas, { willReadFrequently = false } = {}) { method _fillColor (line 838) | _fillColor(shape: Shape) { method _fillPattern (line 844) | _fillPattern(shape: Shape) { method _fillLinearGradient (line 848) | _fillLinearGradient(shape: Shape) { method _fillRadialGradient (line 856) | _fillRadialGradient(shape: Shape) { method _fill (line 863) | _fill(shape) { method _strokeLinearGradient (line 902) | _strokeLinearGradient(shape) { method _stroke (line 916) | _stroke(shape) { method _applyShadow (line 954) | _applyShadow(shape) { class HitContext (line 976) | class HitContext extends Context { method constructor (line 977) | constructor(canvas: Canvas) { method _fill (line 983) | _fill(shape: Shape) { method strokeShape (line 989) | strokeShape(shape: Shape) { method _stroke (line 994) | _stroke(shape) { FILE: src/DragAndDrop.ts method isDragging (line 8) | get isDragging() { method node (line 18) | get node() { method _drag (line 44) | _drag(evt) { method _endDragBefore (line 103) | _endDragBefore(evt?) { method _endDragAfter (line 146) | _endDragAfter(evt) { FILE: src/Factory.ts constant GET (line 6) | const GET = 'get'; constant SET (line 7) | const SET = 'set'; type EnforceString (line 12) | type EnforceString = T extends string ? T : never; type Constructor (line 17) | type Constructor = abstract new (...args: any) => any; type Attr (line 22) | type Attr = EnforceString>; type AfterFunc (line 27) | type AfterFunc = (this: InstanceType) => void; type ExtractGetSet (line 32) | type ExtractGetSet = T extends GetSet ? U : never; type Value (line 37) | type Value> = ExtractGetSet< type ValidatorFunc (line 44) | type ValidatorFunc = (val: ExtractGetSet, attr: string) => T; type ExtractComponents (line 49) | type ExtractComponents> = method addGetterSetter (line 55) | addGetterSetter>( method addGetter (line 66) | addGetter>( method addSetter (line 81) | addSetter>( method overWriteSetter (line 94) | overWriteSetter>( method addComponentsGetterSetter (line 116) | addComponentsGetterSetter>( method addOverloadedGetterSetter (line 177) | addOverloadedGetterSetter>( method addDeprecatedGetterSetter (line 195) | addDeprecatedGetterSetter>( method backCompat (line 218) | backCompat( method afterSetFilter (line 243) | afterSetFilter(this: Node): void { FILE: src/FastLayer.ts class FastLayer (line 18) | class FastLayer extends Layer { method constructor (line 19) | constructor(attrs) { FILE: src/Global.ts constant PI_OVER_180 (line 12) | const PI_OVER_180 = Math.PI / 180; function detectBrowser (line 17) | function detectBrowser() { method getAngle (line 44) | getAngle(angle: number) { method isDragging (line 166) | isDragging(): boolean { method isTransforming (line 169) | isTransforming(): boolean { method isDragReady (line 178) | isDragReady() { method _injectGlobal (line 196) | _injectGlobal(Konva) { FILE: src/Group.ts type GroupConfig (line 8) | interface GroupConfig extends ContainerConfig {} class Group (line 21) | class Group extends Container { method _validateAdd (line 22) | _validateAdd(child: Node) { FILE: src/Layer.ts type LayerConfig (line 16) | interface LayerConfig extends ContainerConfig { constant HASH (line 23) | const HASH = '#', constant BEFORE_DRAW (line 23) | const HASH = '#', constant DRAW (line 23) | const HASH = '#', constant INTERSECTION_OFFSETS (line 23) | const HASH = '#', constant INTERSECTION_OFFSETS_LEN (line 23) | const HASH = '#', class Layer (line 59) | class Layer extends Container { method constructor (line 67) | constructor(config?: LayerConfig) { method createPNGStream (line 76) | createPNGStream() { method getCanvas (line 85) | getCanvas() { method getNativeCanvasElement (line 93) | getNativeCanvasElement() { method getHitCanvas (line 101) | getHitCanvas() { method getContext (line 109) | getContext() { method clear (line 113) | clear(bounds?) { method setZIndex (line 119) | setZIndex(index: number) { method moveToTop (line 136) | moveToTop() { method moveUp (line 145) | moveUp() { method moveDown (line 167) | moveDown() { method moveToBottom (line 185) | moveToBottom() { method getLayer (line 202) | getLayer() { method remove (line 205) | remove() { method getStage (line 215) | getStage() { method setSize (line 218) | setSize({ width, height }) { method _validateAdd (line 224) | _validateAdd(child) { method _toKonvaCanvas (line 230) | _toKonvaCanvas(config) { method _checkVisibility (line 240) | _checkVisibility() { method _setSmoothEnabled (line 249) | _setSmoothEnabled() { method getWidth (line 262) | getWidth() { method setWidth (line 267) | setWidth() { method getHeight (line 281) | getHeight() { method setHeight (line 286) | setHeight() { method batchDraw (line 299) | batchDraw() { method getIntersection (line 324) | getIntersection(pos: Vector2d) { method _getIntersection (line 359) | _getIntersection(pos: Vector2d): { shape?: Shape; antialiased?: boolea... method drawScene (line 391) | drawScene(can?: SceneCanvas, top?: Node, bufferCanvas?: SceneCanvas) { method drawHit (line 411) | drawHit(can?: HitCanvas, top?: Node) { method enableHitGraph (line 428) | enableHitGraph() { method disableHitGraph (line 438) | disableHitGraph() { method setHitGraphEnabled (line 443) | setHitGraphEnabled(val) { method getHitGraphEnabled (line 450) | getHitGraphEnabled(val) { method toggleHitCanvas (line 462) | toggleHitCanvas() { method destroy (line 475) | destroy(): this { FILE: src/Node.ts type FilterFunction (line 20) | type FilterFunction = (this: Node, imageData: ImageData) => void; type Filter (line 21) | type Filter = FilterFunction | string; type Filters (line 22) | type Filters = Array; function parseCSSFilters (line 25) | function parseCSSFilters(cssFilter: string): FilterFunction { type globalCompositeOperationType (line 108) | type globalCompositeOperationType = type NodeConfig (line 138) | type NodeConfig = { constant ABSOLUTE_OPACITY (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant ALL_LISTENERS (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant ABSOLUTE_TRANSFORM (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant ABSOLUTE_SCALE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant CANVAS (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant CHANGE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant CHILDREN (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant KONVA (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant LISTENING (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant MOUSEENTER (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant MOUSELEAVE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant POINTERENTER (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant POINTERLEAVE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant TOUCHENTER (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant TOUCHLEAVE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant NAME (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant SET (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant SHAPE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant SPACE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant STAGE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant TRANSFORM (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant UPPER_STAGE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant VISIBLE (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', constant TRANSFORM_CHANGE_STR (line 168) | const ABSOLUTE_OPACITY = 'absoluteOpacity', type NodeEventMap (line 207) | type NodeEventMap = GlobalEventHandlersEventMap & { type KonvaEventObject (line 211) | interface KonvaEventObject { type KonvaEventListener (line 221) | type KonvaEventListener = ( type CanvasConfig (line 226) | type CanvasConfig = { type ImageConfig (line 235) | type ImageConfig = CanvasConfig & { method constructor (line 272) | constructor(config?: Config) { method hasChildren (line 281) | hasChildren() { method _clearCache (line 285) | _clearCache(attr?: string) { method _getCache (line 301) | _getCache(attr: string, privateGetter: Function) { method _calculate (line 319) | _calculate(name: string, deps: Array, getter: Function) { method _getCanvasCache (line 333) | _getCanvasCache() { method _clearSelfAndDescendantCache (line 340) | _clearSelfAndDescendantCache(attr?: string) { method clearCache (line 355) | clearCache() { method cache (line 410) | cache( method isCached (line 574) | isCached() { method getClientRect (line 616) | getClientRect(config?: { method _transformedRect (line 626) | _transformedRect(rect: IRect, top?: Node | null) { method _drawCachedSceneCanvas (line 656) | _drawCachedSceneCanvas(context: Context) { method _drawCachedHitCanvas (line 676) | _drawCachedHitCanvas(context: Context) { method _getCachedSceneCanvas (line 690) | _getCachedSceneCanvas() { method on (line 855) | on(...args: any[]): this { method off (line 911) | off(evtStr?: string, callback?: Function) { method dispatchEvent (line 948) | dispatchEvent(evt: any) { method addEventListener (line 957) | addEventListener(type: string, handler: (e: Event) => void) { method removeEventListener (line 964) | removeEventListener(type: string) { method _delegate (line 969) | _delegate(event: string, selector: string, handler: (e: Event) => void) { method remove (line 989) | remove() { method _clearCaches (line 1006) | _clearCaches() { method _remove (line 1014) | _remove() { method destroy (line 1035) | destroy() { method getAttr (line 1049) | getAttr>( method getAncestors (line 1069) | getAncestors() { method getAttrs (line 1086) | getAttrs(): Config { method setAttrs (line 1101) | setAttrs(config?: Config) { method isListening (line 1139) | isListening() { method _isListening (line 1142) | _isListening(relativeTo?: Node): boolean { method isVisible (line 1168) | isVisible() { method _isVisible (line 1171) | _isVisible(relativeTo?: Node): boolean { method shouldDrawHit (line 1183) | shouldDrawHit(top?: Node, skipDragCheck = false) { method show (line 1213) | show() { method hide (line 1223) | hide() { method getZIndex (line 1227) | getZIndex() { method getAbsoluteZIndex (line 1237) | getAbsoluteZIndex() { method getDepth (line 1281) | getDepth() { method _batchTransformChanges (line 1296) | _batchTransformChanges(func) { method setPosition (line 1307) | setPosition(pos: Vector2d) { method getPosition (line 1314) | getPosition() { method getRelativePointerPosition (line 1332) | getRelativePointerPosition() { method getAbsolutePosition (line 1363) | getAbsolutePosition(top?: Node) { method setAbsolutePosition (line 1388) | setAbsolutePosition(pos: Vector2d) { method _setTransform (line 1412) | _setTransform(trans) { method _clearTransform (line 1421) | _clearTransform() { method move (line 1462) | move(change: Vector2d) { method _eachAncestorReverse (line 1479) | _eachAncestorReverse(func, top) { method rotate (line 1512) | rotate(theta: number) { method moveToTop (line 1522) | moveToTop() { method moveUp (line 1543) | moveUp() { method moveDown (line 1564) | moveDown() { method moveToBottom (line 1584) | moveToBottom() { method setZIndex (line 1598) | setZIndex(zIndex) { method getAbsoluteOpacity (line 1624) | getAbsoluteOpacity() { method _getAbsoluteOpacity (line 1627) | _getAbsoluteOpacity() { method moveTo (line 1645) | moveTo(newContainer: any) { method toObject (line 1659) | toObject() { method toJSON (line 1704) | toJSON() { method getParent (line 1713) | getParent() { method findAncestors (line 1728) | findAncestors( method isAncestorOf (line 1750) | isAncestorOf(node: Node) { method findAncestor (line 1765) | findAncestor( method _isMatch (line 1773) | _isMatch(selector: string | Function) { method getLayer (line 1820) | getLayer(): Layer | null { method getStage (line 1830) | getStage(): Stage | null { method _getStage (line 1834) | _getStage() { method fire (line 1866) | fire(eventType: string, evt: any = {}, bubble?: boolean) { method getAbsoluteTransform (line 1884) | getAbsoluteTransform(top?: Node | null) { method _getAbsoluteTransform (line 1896) | _getAbsoluteTransform(top?: Node) { method getAbsoluteScale (line 1947) | getAbsoluteScale(top?: Node) { method getAbsoluteRotation (line 1977) | getAbsoluteRotation() { method getTransform (line 1994) | getTransform() { method _getTransform (line 1997) | _getTransform(): Transform { method clone (line 2051) | clone(obj?: any) { method _toKonvaCanvas (line 2086) | _toKonvaCanvas(config) { method toCanvas (line 2147) | toCanvas(config?: CanvasConfig) { method toDataURL (line 2173) | toDataURL( method toImage (line 2218) | toImage( method toBlob (line 2257) | toBlob( method setSize (line 2279) | setSize(size) { method getSize (line 2284) | getSize() { method getClassName (line 2296) | getClassName() { method getType (line 2305) | getType() { method getDragDistance (line 2308) | getDragDistance(): number { method _off (line 2318) | _off(type, name?, callback?) { method _fireChangeEvent (line 2346) | _fireChangeEvent(attr, oldVal, newVal) { method addName (line 2363) | addName(name: string) { method hasName (line 2383) | hasName(name) { method removeName (line 2407) | removeName(name) { method setAttr (line 2426) | setAttr>( method _requestDraw (line 2440) | _requestDraw() { method _setAttr (line 2446) | _setAttr>( method _setComponentAttr (line 2464) | _setComponentAttr(key, component, val) { method _fireAndBubble (line 2478) | _fireAndBubble(eventType, evt, compareShape?) { method _getProtoListeners (line 2526) | _getProtoListeners(eventType) { method _fire (line 2546) | _fire(eventType, evt) { method draw (line 2573) | draw() { method _createDragElement (line 2580) | _createDragElement(evt) { method startDrag (line 2609) | startDrag(evt?: any, bubbleEvent = true) { method _setDragPosition (line 2629) | _setDragPosition(evt, elem) { method stopDrag (line 2671) | stopDrag(evt?) { method setDraggable (line 2680) | setDraggable(draggable) { method isDragging (line 2690) | isDragging() { method _listenDrag (line 2695) | _listenDrag() { method _dragChange (line 2723) | _dragChange() { method _dragCleanup (line 2751) | _dragCleanup() { method isClientRectOnScreen (line 2771) | isClientRectOnScreen( method create (line 2869) | static create(data, container?) { method _createNode (line 2876) | static _createNode(obj, container?) { type AnimTo (line 2911) | interface AnimTo extends NodeConfig { FILE: src/PointerEvents.ts constant SUPPORT_POINTER_EVENTS (line 11) | const SUPPORT_POINTER_EVENTS = Konva._global['PointerEvent'] !== undefined; type KonvaPointerEvent (line 13) | interface KonvaPointerEvent extends KonvaEventObject { function getCapturedShape (line 17) | function getCapturedShape(pointerId: number) { function createEvent (line 21) | function createEvent(evt: PointerEvent): KonvaPointerEvent { function hasPointerCapture (line 28) | function hasPointerCapture(pointerId: number, shape: Shape | Stage) { function setPointerCapture (line 32) | function setPointerCapture(pointerId: number, shape: Shape | Stage) { function releaseCapture (line 48) | function releaseCapture(pointerId: number, target?: Shape | Stage) { FILE: src/Shape.ts type ShapeConfigHandler (line 22) | type ShapeConfigHandler = { type LineJoin (line 26) | type LineJoin = 'round' | 'bevel' | 'miter'; type LineCap (line 27) | type LineCap = 'butt' | 'round' | 'square'; type ShapeConfig (line 29) | type ShapeConfig = NodeConfig & { type ShapeGetClientRectConfig (line 87) | interface ShapeGetClientRectConfig { type FillFuncOutput (line 94) | type FillFuncOutput = constant HAS_SHADOW (line 99) | const HAS_SHADOW = 'hasShadow'; constant SHADOW_RGBA (line 100) | const SHADOW_RGBA = 'shadowRGBA'; function getDummyContext (line 106) | function getDummyContext(): CanvasRenderingContext2D { function _fillFunc (line 122) | function _fillFunc(this: Node, context) { function _strokeFunc (line 130) | function _strokeFunc(context) { function _fillFuncHit (line 133) | function _fillFuncHit(this: Node, context) { function _strokeFuncHit (line 141) | function _strokeFuncHit(context) { function _clearHasShadowCache (line 145) | function _clearHasShadowCache(this: Node) { function _clearGetShadowRGBACache (line 149) | function _clearGetShadowRGBACache(this: Node) { function _clearFillPatternCache (line 153) | function _clearFillPatternCache(this: Node) { function _clearLinearGradientCache (line 157) | function _clearLinearGradientCache(this: Node) { function _clearRadialGradientCache (line 161) | function _clearRadialGradientCache(this: Node) { class Shape (line 191) | class Shape< method constructor (line 202) | constructor(config?: Config) { method getContext (line 230) | getContext() { method getCanvas (line 237) | getCanvas() { method getSceneFunc (line 242) | getSceneFunc() { method getHitFunc (line 246) | getHitFunc() { method hasShadow (line 255) | hasShadow() { method _hasShadow (line 258) | _hasShadow() { method _getFillPattern (line 270) | _getFillPattern() { method __getFillPattern (line 273) | __getFillPattern() { method _getLinearGradient (line 310) | _getLinearGradient() { method __getLinearGradient (line 313) | __getLinearGradient() { method _getRadialGradient (line 330) | _getRadialGradient() { method __getRadialGradient (line 333) | __getRadialGradient() { method getShadowRGBA (line 356) | getShadowRGBA() { method _getShadowRGBA (line 359) | _getShadowRGBA() { method hasFill (line 384) | hasFill() { method hasStroke (line 413) | hasStroke() { method hasHitStroke (line 438) | hasHitStroke() { method intersects (line 462) | intersects(point: Vector2d) { method destroy (line 480) | destroy() { method _useBufferCanvas (line 489) | _useBufferCanvas(forceFill?: boolean): boolean { method setStrokeHitEnabled (line 514) | setStrokeHitEnabled(val: number) { method getStrokeHitEnabled (line 524) | getStrokeHitEnabled() { method getSelfRect (line 543) | getSelfRect() { method getClientRect (line 552) | getClientRect(config: ShapeGetClientRectConfig = {}) { method drawScene (line 607) | drawScene(can?: SceneCanvas, top?: Node, bufferCanvas?: SceneCanvas) { method drawHit (line 718) | drawHit(can?: HitCanvas, top?: Node, skipDragCheck = false) { method drawHitFromCache (line 774) | drawHitFromCache(alphaThreshold = 0) { method hasPointerCapture (line 813) | hasPointerCapture(pointerId: number): boolean { method setPointerCapture (line 817) | setPointerCapture(pointerId: number) { method releaseCapture (line 821) | releaseCapture(pointerId: number) { FILE: src/Stage.ts type StageConfig (line 14) | interface StageConfig extends ContainerConfig { constant STAGE (line 19) | const STAGE = 'Stage', constant STRING (line 19) | const STAGE = 'Stage', constant MOUSEOUT (line 19) | const STAGE = 'Stage', constant MOUSELEAVE (line 19) | const STAGE = 'Stage', constant MOUSEOVER (line 19) | const STAGE = 'Stage', constant MOUSEENTER (line 19) | const STAGE = 'Stage', constant MOUSEMOVE (line 19) | const STAGE = 'Stage', constant MOUSEDOWN (line 19) | const STAGE = 'Stage', constant MOUSEUP (line 19) | const STAGE = 'Stage', constant POINTERMOVE (line 19) | const STAGE = 'Stage', constant POINTERDOWN (line 19) | const STAGE = 'Stage', constant POINTERUP (line 19) | const STAGE = 'Stage', constant POINTERCANCEL (line 19) | const STAGE = 'Stage', constant LOSTPOINTERCAPTURE (line 19) | const STAGE = 'Stage', constant POINTEROUT (line 19) | const STAGE = 'Stage', constant POINTERLEAVE (line 19) | const STAGE = 'Stage', constant POINTEROVER (line 19) | const STAGE = 'Stage', constant POINTERENTER (line 19) | const STAGE = 'Stage', constant CONTEXTMENU (line 19) | const STAGE = 'Stage', constant TOUCHSTART (line 19) | const STAGE = 'Stage', constant TOUCHEND (line 19) | const STAGE = 'Stage', constant TOUCHMOVE (line 19) | const STAGE = 'Stage', constant TOUCHCANCEL (line 19) | const STAGE = 'Stage', constant WHEEL (line 19) | const STAGE = 'Stage', constant MAX_LAYERS_NUMBER (line 19) | const STAGE = 'Stage', constant EVENTS (line 19) | const STAGE = 'Stage', constant EVENTS_MAP (line 66) | const EVENTS_MAP = { function checkNoClip (line 128) | function checkNoClip(attrs: any = {}) { constant NO_POINTERS_MESSAGE (line 137) | const NO_POINTERS_MESSAGE = `Pointer position is missing and not registe... class Stage (line 157) | class Stage extends Container { method constructor (line 179) | constructor(config: StageConfig) { method _validateAdd (line 195) | _validateAdd(child) { method _checkVisibility (line 204) | _checkVisibility() { method setContainer (line 217) | setContainer(container) { method shouldDrawHit (line 244) | shouldDrawHit() { method clear (line 253) | clear() { method clone (line 262) | clone(obj?) { method destroy (line 271) | destroy() { method getPointerPosition (line 295) | getPointerPosition(): Vector2d | null { method _getPointerById (line 306) | _getPointerById(id?: number) { method getPointersPositions (line 309) | getPointersPositions() { method getStage (line 312) | getStage() { method getContent (line 315) | getContent() { method _toKonvaCanvas (line 318) | _toKonvaCanvas(config) { method getIntersection (line 367) | getIntersection(pos: Vector2d) { method _resizeDOM (line 384) | _resizeDOM() { method add (line 402) | add(layer: Layer, ...rest) { method getParent (line 431) | getParent() { method getLayer (line 434) | getLayer() { method hasPointerCapture (line 438) | hasPointerCapture(pointerId: number): boolean { method setPointerCapture (line 442) | setPointerCapture(pointerId: number) { method releaseCapture (line 446) | releaseCapture(pointerId: number) { method getLayers (line 455) | getLayers() { method _bindContentEvents (line 458) | _bindContentEvents() { method _pointerenter (line 472) | _pointerenter(evt: PointerEvent) { method _pointerover (line 483) | _pointerover(evt) { method _getTargetShape (line 494) | _getTargetShape(evenType) { method _pointerleave (line 501) | _pointerleave(evt) { method _pointerdown (line 537) | _pointerdown(evt: TouchEvent | MouseEvent | PointerEvent) { method _pointermove (line 590) | _pointermove(evt: TouchEvent | MouseEvent | PointerEvent) { method _pointerup (line 670) | _pointerup(evt) { method _contextmenu (line 781) | _contextmenu(evt) { method _wheel (line 796) | _wheel(evt) { method _pointercancel (line 811) | _pointercancel(evt: PointerEvent) { method _lostpointercapture (line 824) | _lostpointercapture(evt: PointerEvent) { method setPointersPositions (line 842) | setPointersPositions(evt) { method _setPointerPosition (line 886) | _setPointerPosition(evt) { method _getContentPosition (line 892) | _getContentPosition() { method _buildDOM (line 913) | _buildDOM() { method cache (line 947) | cache() { method clearCache (line 953) | clearCache() { method batchDraw (line 962) | batchDraw() { FILE: src/Tween.ts constant PAUSED (line 8) | const blacklist = { constant PLAYING (line 8) | const blacklist = { constant REVERSING (line 8) | const blacklist = { class TweenEngine (line 21) | class TweenEngine { method constructor (line 44) | constructor(prop, propFunc, func, begin, finish, duration, yoyo) { method fire (line 61) | fire(str) { method setTime (line 67) | setTime(t) { method getTime (line 87) | getTime() { method setPosition (line 90) | setPosition(p) { method getPosition (line 95) | getPosition(t) { method play (line 101) | play() { method reverse (line 107) | reverse() { method seek (line 114) | seek(t) { method reset (line 120) | reset() { method finish (line 126) | finish() { method update (line 132) | update() { method onEnterFrame (line 136) | onEnterFrame() { method pause (line 144) | pause() { method getTimer (line 148) | getTimer() { type TweenConfig (line 153) | interface TweenConfig extends NodeConfig { class Tween (line 189) | class Tween { method constructor (line 201) | constructor(config: TweenConfig) { method _addAttr (line 271) | _addAttr(key, end) { method _tweenFunc (line 351) | _tweenFunc(i) { method _addListeners (line 406) | _addListeners() { method play (line 456) | play() { method reverse (line 466) | reverse() { method reset (line 476) | reset() { method seek (line 487) | seek(t) { method pause (line 497) | pause() { method finish (line 507) | finish() { method destroy (line 516) | destroy() { method BackEaseIn (line 590) | BackEaseIn(t, b, c, d) { method BackEaseOut (line 599) | BackEaseOut(t, b, c, d) { method BackEaseInOut (line 608) | BackEaseInOut(t, b, c, d) { method ElasticEaseIn (line 620) | ElasticEaseIn(t, b, c, d, a, p) { method ElasticEaseOut (line 651) | ElasticEaseOut(t, b, c, d, a, p) { method ElasticEaseInOut (line 680) | ElasticEaseInOut(t, b, c, d, a, p) { method BounceEaseOut (line 721) | BounceEaseOut(t, b, c, d) { method BounceEaseIn (line 737) | BounceEaseIn(t, b, c, d) { method BounceEaseInOut (line 745) | BounceEaseInOut(t, b, c, d) { method EaseIn (line 757) | EaseIn(t, b, c, d) { method EaseOut (line 765) | EaseOut(t, b, c, d) { method EaseInOut (line 773) | EaseInOut(t, b, c, d) { method StrongEaseIn (line 784) | StrongEaseIn(t, b, c, d) { method StrongEaseOut (line 792) | StrongEaseOut(t, b, c, d) { method StrongEaseInOut (line 800) | StrongEaseInOut(t, b, c, d) { method Linear (line 811) | Linear(t, b, c, d) { FILE: src/Util.ts constant NODE_ERROR (line 5) | const NODE_ERROR = `Konva.js unsupported environment. class Transform (line 49) | class Transform { method constructor (line 52) | constructor(m = [1, 0, 0, 1, 0, 0]) { method reset (line 55) | reset() { method copy (line 71) | copy() { method copyInto (line 74) | copyInto(tr: Transform) { method point (line 89) | point(point: Vector2d) { method translate (line 104) | translate(x: number, y: number) { method scale (line 117) | scale(sx: number, sy: number) { method rotate (line 131) | rotate(rad: number) { method getTranslation (line 150) | getTranslation() { method skew (line 164) | skew(sx: number, sy: number) { method multiply (line 182) | multiply(matrix: Transform) { method invert (line 206) | invert() { method getMatrix (line 227) | getMatrix() { method decompose (line 236) | decompose() { constant OBJECT_ARRAY (line 283) | const OBJECT_ARRAY = '[object Array]', constant OBJECT_NUMBER (line 283) | const OBJECT_ARRAY = '[object Array]', constant OBJECT_STRING (line 283) | const OBJECT_ARRAY = '[object Array]', constant OBJECT_BOOLEAN (line 283) | const OBJECT_ARRAY = '[object Array]', constant PI_OVER_DEG180 (line 283) | const OBJECT_ARRAY = '[object Array]', constant DEG180_OVER_PI (line 283) | const OBJECT_ARRAY = '[object Array]', constant HASH (line 283) | const OBJECT_ARRAY = '[object Array]', constant EMPTY_STRING (line 283) | const OBJECT_ARRAY = '[object Array]', constant ZERO (line 283) | const OBJECT_ARRAY = '[object Array]', constant KONVA_WARNING (line 283) | const OBJECT_ARRAY = '[object Array]', constant KONVA_ERROR (line 283) | const OBJECT_ARRAY = '[object Array]', constant RGB_PAREN (line 283) | const OBJECT_ARRAY = '[object Array]', constant COLORS (line 283) | const OBJECT_ARRAY = '[object Array]', constant RGB_REGEX (line 283) | const OBJECT_ARRAY = '[object Array]', method _isElement (line 465) | _isElement(obj: any): obj is Element { method _isFunction (line 468) | _isFunction(obj: any) { method _isPlainObject (line 471) | _isPlainObject(obj: any) { method _isArray (line 474) | _isArray(obj: any): obj is Array { method _isNumber (line 477) | _isNumber(obj: any): obj is number { method _isString (line 484) | _isString(obj: any): obj is string { method _isBoolean (line 487) | _isBoolean(obj: any): obj is boolean { method isObject (line 491) | isObject(val: any): val is object { method isValidSelector (line 494) | isValidSelector(selector: any) { method _sign (line 505) | _sign(number: number) { method requestAnimFrame (line 518) | requestAnimFrame(callback: Function) { method createCanvasElement (line 530) | createCanvasElement() { method createImageElement (line 539) | createImageElement() { method _isInDocument (line 543) | _isInDocument(el: any) { method _urlToImage (line 555) | _urlToImage(url: string, callback: Function) { method _rgbToHex (line 563) | _rgbToHex(r: number, g: number, b: number) { method _hexToRgb (line 566) | _hexToRgb(hex: string): RGB { method getRandomColor (line 582) | getRandomColor() { method isCanvasFarblingActive (line 595) | isCanvasFarblingActive() { method getHitColor (line 640) | getHitColor(): string { method getHitColorKey (line 655) | getHitColorKey(r: number, g: number, b: number): string { method getSnappedHexColor (line 670) | getSnappedHexColor(hex: string): string { method getRGB (line 693) | getRGB(color: string): RGB { method colorToRGBA (line 725) | colorToRGBA(str: string) { method _namedColorToRBA (line 739) | _namedColorToRBA(str: string) { method _rgbColorToRGBA (line 752) | _rgbColorToRGBA(str: string) { method _rgbaColorToRGBA (line 765) | _rgbaColorToRGBA(str: string) { method _hex8ColorToRGBA (line 783) | _hex8ColorToRGBA(str: string) { method _hex6ColorToRGBA (line 794) | _hex6ColorToRGBA(str: string) { method _hex4ColorToRGBA (line 805) | _hex4ColorToRGBA(str: string) { method _hex3ColorToRGBA (line 816) | _hex3ColorToRGBA(str: string) { method _hslColorToRGBA (line 827) | _hslColorToRGBA(str: string) { method haveIntersection (line 900) | haveIntersection(r1: IRect, r2: IRect) { method cloneObject (line 908) | cloneObject(obj: Any): Any { method cloneArray (line 921) | cloneArray(arr: Array) { method degToRad (line 924) | degToRad(deg: number) { method radToDeg (line 927) | radToDeg(rad: number) { method _degToRad (line 930) | _degToRad(deg: number) { method _radToDeg (line 936) | _radToDeg(rad: number) { method _getRotation (line 942) | _getRotation(radians: number) { method _capitalize (line 945) | _capitalize(str: string) { method throw (line 948) | throw(str: string) { method error (line 951) | error(str: string) { method warn (line 954) | warn(str: string) { method each (line 960) | each(obj: object, func: Function) { method _inRange (line 965) | _inRange(val: number, left: number, right: number) { method _getProjectionToSegment (line 968) | _getProjectionToSegment(x1, y1, x2, y2, x3, y3) { method _getProjectionToLine (line 996) | _getProjectionToLine(pt: Vector2d, line: Array, isClosed: bool... method _prepareArrayForTween (line 1023) | _prepareArrayForTween(startArray, endArray, isClosed) { method _prepareToStringify (line 1052) | _prepareToStringify(obj: any): T | null { method _assign (line 1087) | _assign(target: T, source: U) { method _getFirstPointerId (line 1093) | _getFirstPointerId(evt) { method releaseCanvas (line 1101) | releaseCanvas(...canvases: HTMLCanvasElement[]) { method drawRoundedRectPath (line 1109) | drawRoundedRectPath( method drawRoundedPolygonPath (line 1174) | drawRoundedPolygonPath( type AnyString (line 1220) | type AnyString = T | (string & {}); FILE: src/Validators.ts function _formatValue (line 4) | function _formatValue(val: any) { function RGBComponent (line 17) | function RGBComponent(val: number) { function alphaComponent (line 25) | function alphaComponent(val: number) { function getNumberValidator (line 36) | function getNumberValidator() { function getNumberOrArrayOfNumbersValidator (line 52) | function getNumberOrArrayOfNumbersValidator(noOfElements: number) { function getNumberOrAutoValidator (line 72) | function getNumberOrAutoValidator() { function getStringValidator (line 91) | function getStringValidator() { function getStringOrGradientValidator (line 107) | function getStringOrGradientValidator() { function getFunctionValidator (line 127) | function getFunctionValidator() { function getNumberArrayValidator (line 142) | function getNumberArrayValidator() { function getBooleanValidator (line 175) | function getBooleanValidator() { function getComponentValidator (line 191) | function getComponentValidator(components: string[]) { FILE: src/_CoreInternals.ts type Vector2d (line 46) | type Vector2d = import('./types.ts').Vector2d; type Node (line 47) | type Node = import('./Node.ts').Node; type NodeConfig (line 48) | type NodeConfig = import('./Node.ts').NodeConfig; type KonvaEventObject (line 49) | type KonvaEventObject = type KonvaPointerEvent (line 52) | type KonvaPointerEvent = type KonvaEventListener (line 55) | type KonvaEventListener = type Container (line 58) | type Container = import('./Container.ts').Container type ContainerConfig (line 59) | type ContainerConfig = import('./Container.ts').ContainerConfig; type Transform (line 61) | type Transform = import('./Util.ts').Transform; type Context (line 63) | type Context = import('./Context.ts').Context; type Stage (line 65) | type Stage = import('./Stage.ts').Stage; type StageConfig (line 66) | type StageConfig = import('./Stage.ts').StageConfig; type Layer (line 68) | type Layer = import('./Layer.ts').Layer; type LayerConfig (line 69) | type LayerConfig = import('./Layer.ts').LayerConfig; type FastLayer (line 71) | type FastLayer = import('./FastLayer.ts').FastLayer; type Group (line 73) | type Group = import('./Group.ts').Group; type GroupConfig (line 74) | type GroupConfig = import('./Group.ts').GroupConfig; type Shape (line 76) | type Shape = import('./Shape.ts').Shape; type ShapeConfig (line 77) | type ShapeConfig = import('./Shape.ts').ShapeConfig; type Animation (line 79) | type Animation = import('./Animation.ts').Animation; type Tween (line 81) | type Tween = import('./Tween.ts').Tween; type TweenConfig (line 82) | type TweenConfig = import('./Tween.ts').TweenConfig; FILE: src/_FullInternals.ts type Vector2d (line 94) | type Vector2d = Core.Vector2d; type Node (line 95) | type Node = Core.Node; type NodeConfig (line 96) | type NodeConfig = Core.NodeConfig; type KonvaEventObject (line 97) | type KonvaEventObject = Core.KonvaEventObject; type KonvaPointerEvent (line 99) | type KonvaPointerEvent = Core.KonvaPointerEvent; type KonvaEventListener (line 101) | type KonvaEventListener = Core.KonvaEventListener< type Container (line 106) | type Container = Core.Container; type ContainerConfig (line 107) | type ContainerConfig = Core.ContainerConfig; type Transform (line 109) | type Transform = Core.Transform; type Context (line 111) | type Context = Core.Context; type Stage (line 113) | type Stage = Core.Stage; type StageConfig (line 114) | type StageConfig = Core.StageConfig; type Layer (line 116) | type Layer = Core.Layer; type LayerConfig (line 117) | type LayerConfig = Core.LayerConfig; type FastLayer (line 119) | type FastLayer = Core.FastLayer; type Group (line 121) | type Group = Core.Group; type GroupConfig (line 122) | type GroupConfig = Core.GroupConfig; type Shape (line 124) | type Shape = Core.Shape; type ShapeConfig (line 125) | type ShapeConfig = Core.ShapeConfig; type Animation (line 127) | type Animation = Core.Animation; type Tween (line 129) | type Tween = Core.Tween; type TweenConfig (line 130) | type TweenConfig = Core.TweenConfig; type Arc (line 132) | type Arc = import('./shapes/Arc.ts').Arc; type ArcConfig (line 133) | type ArcConfig = import('./shapes/Arc.ts').ArcConfig; type Arrow (line 134) | type Arrow = import('./shapes/Arrow.ts').Arrow; type ArrowConfig (line 135) | type ArrowConfig = import('./shapes/Arrow.ts').ArrowConfig; type Circle (line 136) | type Circle = import('./shapes/Circle.ts').Circle; type CircleConfig (line 137) | type CircleConfig = import('./shapes/Circle.ts').CircleConfig; type Ellipse (line 138) | type Ellipse = import('./shapes/Ellipse.ts').Ellipse; type EllipseConfig (line 139) | type EllipseConfig = import('./shapes/Ellipse.ts').EllipseConfig; type Image (line 140) | type Image = import('./shapes/Image.ts').Image; type ImageConfig (line 141) | type ImageConfig = import('./shapes/Image.ts').ImageConfig; type Label (line 142) | type Label = import('./shapes/Label.ts').Label; type LabelConfig (line 143) | type LabelConfig = import('./shapes/Label.ts').LabelConfig; type Tag (line 144) | type Tag = import('./shapes/Label.ts').Tag; type TagConfig (line 145) | type TagConfig = import('./shapes/Label.ts').TagConfig; type Line (line 146) | type Line = import('./shapes/Line.ts').Line; type LineConfig (line 147) | type LineConfig = import('./shapes/Line.ts').LineConfig; type Path (line 148) | type Path = import('./shapes/Path.ts').Path; type PathConfig (line 149) | type PathConfig = import('./shapes/Path.ts').PathConfig; type Rect (line 150) | type Rect = import('./shapes/Rect.ts').Rect; type RectConfig (line 151) | type RectConfig = import('./shapes/Rect.ts').RectConfig; type RegularPolygon (line 152) | type RegularPolygon = type RegularPolygonConfig (line 154) | type RegularPolygonConfig = type Ring (line 156) | type Ring = import('./shapes/Ring.ts').Ring; type RingConfig (line 157) | type RingConfig = import('./shapes/Ring.ts').RingConfig; type Sprite (line 158) | type Sprite = import('./shapes/Sprite.ts').Sprite; type SpriteConfig (line 159) | type SpriteConfig = import('./shapes/Sprite.ts').SpriteConfig; type Star (line 160) | type Star = import('./shapes/Star.ts').Star; type StarConfig (line 161) | type StarConfig = import('./shapes/Star.ts').StarConfig; type Text (line 162) | type Text = import('./shapes/Text.ts').Text; type TextConfig (line 163) | type TextConfig = import('./shapes/Text.ts').TextConfig; type TextPath (line 164) | type TextPath = import('./shapes/TextPath.ts').TextPath; type TextPathConfig (line 165) | type TextPathConfig = import('./shapes/TextPath.ts').TextPathConfig; type Transformer (line 166) | type Transformer = import('./shapes/Transformer.ts').Transformer; type TransformerConfig (line 167) | type TransformerConfig = type Wedge (line 169) | type Wedge = import('./shapes/Wedge.ts').Wedge; type WedgeConfig (line 170) | type WedgeConfig = import('./shapes/Wedge.ts').WedgeConfig; FILE: src/canvas-backend.ts method constructor (line 12) | constructor(path: any) { method [Symbol.toStringTag] (line 16) | get [Symbol.toStringTag]() { FILE: src/filters/Blur.ts function BlurStack (line 51) | function BlurStack(this: any) { function filterGaussBlurRGBA (line 96) | function filterGaussBlurRGBA(imageData, radius) { FILE: src/filters/Enhance.ts function remap (line 6) | function remap( FILE: src/filters/Mask.ts function pixelAt (line 6) | function pixelAt(idata, x: number, y: number) { function rgbDistance (line 18) | function rgbDistance(p1, p2) { function rgbMean (line 26) | function rgbMean(pTab) { function backgroundMask (line 42) | function backgroundMask(idata, threshold) { function applyMask (line 73) | function applyMask(idata, mask) { function erodeMask (line 79) | function erodeMask(mask, sw, sh) { function dilateMask (line 110) | function dilateMask(mask, sw, sh) { function smoothEdgeMask (line 141) | function smoothEdgeMask(mask, sw: number, sh: number) { FILE: src/shapes/Arc.ts type ArcConfig (line 10) | interface ArcConfig extends ShapeConfig { class Arc (line 41) | class Arc extends Shape { method _sceneFunc (line 42) | _sceneFunc(context: Context) { method getWidth (line 52) | getWidth() { method getHeight (line 55) | getHeight() { method setWidth (line 58) | setWidth(width: number) { method setHeight (line 61) | setHeight(height: number) { method getSelfRect (line 65) | getSelfRect() { FILE: src/shapes/Arrow.ts type ArrowConfig (line 10) | interface ArrowConfig extends LineConfig { class Arrow (line 44) | class Arrow extends Line { method _sceneFunc (line 45) | _sceneFunc(ctx: Context) { method __fillStroke (line 131) | __fillStroke(ctx: Context) { method getSelfRect (line 151) | getSelfRect() { FILE: src/shapes/Circle.ts type CircleConfig (line 9) | interface CircleConfig extends ShapeConfig { class Circle (line 31) | class Circle extends Shape { method _sceneFunc (line 32) | _sceneFunc(context: Context) { method getWidth (line 38) | getWidth() { method getHeight (line 41) | getHeight() { method setWidth (line 44) | setWidth(width: number) { method setHeight (line 49) | setHeight(height: number) { FILE: src/shapes/Ellipse.ts type EllipseConfig (line 10) | interface EllipseConfig extends ShapeConfig { class Ellipse (line 33) | class Ellipse extends Shape { method _sceneFunc (line 34) | _sceneFunc(context: Context) { method getWidth (line 48) | getWidth() { method getHeight (line 51) | getHeight() { method setWidth (line 54) | setWidth(width: number) { method setHeight (line 57) | setHeight(height: number) { FILE: src/shapes/Image.ts type ImageConfig (line 14) | interface ImageConfig extends ShapeConfig { class Image (line 43) | class Image extends Shape { method constructor (line 46) | constructor(attrs?: ImageConfig) { method _setImageLoad (line 59) | _setImageLoad() { method _removeImageLoad (line 73) | _removeImageLoad(image: any) { method destroy (line 78) | destroy() { method _useBufferCanvas (line 83) | _useBufferCanvas() { method _sceneFunc (line 91) | _sceneFunc(context: Context) { method _hitFunc (line 135) | _hitFunc(context: Context) { method getWidth (line 149) | getWidth() { method getHeight (line 152) | getHeight() { method fromURL (line 169) | static fromURL( FILE: src/shapes/Label.ts type LabelConfig (line 16) | interface LabelConfig extends ContainerConfig {} constant ATTR_CHANGE_LIST (line 19) | const ATTR_CHANGE_LIST = [ constant CHANGE_KONVA (line 19) | const ATTR_CHANGE_LIST = [ constant NONE (line 19) | const ATTR_CHANGE_LIST = [ constant RIGHT (line 19) | const ATTR_CHANGE_LIST = [ constant DOWN (line 19) | const ATTR_CHANGE_LIST = [ constant LEFT (line 19) | const ATTR_CHANGE_LIST = [ class Label (line 79) | class Label extends Group { method constructor (line 80) | constructor(config?: LabelConfig) { method getText (line 96) | getText() { method getTag (line 105) | getTag() { method _addListeners (line 108) | _addListeners(text) { method getWidth (line 120) | getWidth() { method getHeight (line 123) | getHeight() { method _sync (line 126) | _sync() { type TagConfig (line 183) | interface TagConfig extends ShapeConfig { class Tag (line 202) | class Tag extends Shape { method _sceneFunc (line 203) | _sceneFunc(context: Context) { method getSelfRect (line 292) | getSelfRect() { FILE: src/shapes/Line.ts function getControlPoints (line 10) | function getControlPoints( function expandPoints (line 31) | function expandPoints(p, tension) { function getBezierExtremaPoints (line 59) | function getBezierExtremaPoints(points) { type LineConfig (line 96) | interface LineConfig extends ShapeConfig { class Line (line 137) | class Line< method constructor (line 140) | constructor(config?: Config) { method _sceneFunc (line 150) | _sceneFunc(context: Context) { method getTensionPoints (line 224) | getTensionPoints() { method _getTensionPoints (line 227) | _getTensionPoints() { method _getTensionPointsClosed (line 234) | _getTensionPointsClosed() { method getWidth (line 274) | getWidth() { method getHeight (line 277) | getHeight() { method getSelfRect (line 281) | getSelfRect() { FILE: src/shapes/Path.ts type PathConfig (line 13) | interface PathConfig extends ShapeConfig { class Path (line 36) | class Path extends Shape { method constructor (line 40) | constructor(config?: PathConfig) { method _readDataAttribute (line 49) | _readDataAttribute() { method _sceneFunc (line 54) | _sceneFunc(context) { method getSelfRect (line 112) | getSelfRect() { method getLength (line 209) | getLength() { method getPointAtLength (line 221) | getPointAtLength(length: number) { method getLineLength (line 227) | static getLineLength(x1, y1, x2, y2) { method getPathLength (line 231) | static getPathLength(dataArray: PathSegment[]) { method getPointAtLengthOfDataArray (line 239) | static getPointAtLengthOfDataArray(length: number, dataArray: PathSegm... method getPointOnLine (line 331) | static getPointOnLine( method getPointOnCubicBezier (line 374) | static getPointOnCubicBezier( method getPointOnQuadraticBezier (line 402) | static getPointOnQuadraticBezier(pct, P1x, P1y, P2x, P2y, P3x, P3y) { method getPointOnEllipticalArc (line 417) | static getPointOnEllipticalArc( method parsePathData (line 442) | static parsePathData(data): PathSegment[] { method calcLength (line 834) | static calcLength(x, y, cmd, points) { method convertEndpointToCenterParameterization (line 919) | static convertEndpointToCenterParameterization( FILE: src/shapes/Rect.ts type RectConfig (line 11) | type RectConfig = ShapeConfig & { class Rect (line 33) | class Rect extends Shape { method _sceneFunc (line 34) | _sceneFunc(context: Context) { FILE: src/shapes/RegularPolygon.ts type RegularPolygonConfig (line 13) | interface RegularPolygonConfig extends ShapeConfig { class RegularPolygon (line 40) | class RegularPolygon extends Shape { method _sceneFunc (line 41) | _sceneFunc(context: Context) { method _getPoints (line 61) | _getPoints() { method getSelfRect (line 73) | getSelfRect() { method getWidth (line 93) | getWidth() { method getHeight (line 96) | getHeight() { method setWidth (line 99) | setWidth(width: number) { method setHeight (line 102) | setHeight(height: number) { FILE: src/shapes/Ring.ts type RingConfig (line 9) | interface RingConfig extends ShapeConfig { class Ring (line 34) | class Ring extends Shape { method _sceneFunc (line 35) | _sceneFunc(context: Context) { method getWidth (line 43) | getWidth() { method getHeight (line 46) | getHeight() { method setWidth (line 49) | setWidth(width: number) { method setHeight (line 52) | setHeight(height: number) { FILE: src/shapes/Sprite.ts type SpriteConfig (line 11) | interface SpriteConfig extends ShapeConfig { class Sprite (line 66) | class Sprite extends Shape { method constructor (line 70) | constructor(config: SpriteConfig) { method _sceneFunc (line 95) | _sceneFunc(context: Context) { method _hitFunc (line 134) | _hitFunc(context: Context) { method _useBufferCanvas (line 155) | _useBufferCanvas() { method _setInterval (line 159) | _setInterval() { method start (line 170) | start() { method stop (line 191) | stop() { method isRunning (line 201) | isRunning() { method _updateIndex (line 204) | _updateIndex() { FILE: src/shapes/Star.ts type StarConfig (line 10) | interface StarConfig extends ShapeConfig { class Star (line 39) | class Star extends Shape { method _sceneFunc (line 40) | _sceneFunc(context: Context) { method getWidth (line 58) | getWidth() { method getHeight (line 61) | getHeight() { method setWidth (line 64) | setWidth(width: number) { method setHeight (line 67) | setHeight(height: number) { FILE: src/shapes/Text.ts type CharRenderProps (line 17) | interface CharRenderProps { function stringToArray (line 29) | function stringToArray(string: string): string[] { type TextConfig (line 65) | interface TextConfig extends ShapeConfig { constant AUTO (line 84) | const AUTO = 'auto', constant CENTER (line 84) | const AUTO = 'auto', constant INHERIT (line 84) | const AUTO = 'auto', constant JUSTIFY (line 84) | const AUTO = 'auto', constant CHANGE_KONVA (line 84) | const AUTO = 'auto', constant CONTEXT_2D (line 84) | const AUTO = 'auto', constant DASH (line 84) | const AUTO = 'auto', constant LEFT (line 84) | const AUTO = 'auto', constant TEXT (line 84) | const AUTO = 'auto', constant TEXT_UPPER (line 84) | const AUTO = 'auto', constant TOP (line 84) | const AUTO = 'auto', constant BOTTOM (line 84) | const AUTO = 'auto', constant MIDDLE (line 84) | const AUTO = 'auto', constant NORMAL (line 84) | const AUTO = 'auto', constant PX_SPACE (line 84) | const AUTO = 'auto', constant SPACE (line 84) | const AUTO = 'auto', constant RIGHT (line 84) | const AUTO = 'auto', constant RTL (line 84) | const AUTO = 'auto', constant WORD (line 84) | const AUTO = 'auto', constant CHAR (line 84) | const AUTO = 'auto', constant NONE (line 84) | const AUTO = 'auto', constant ELLIPSIS (line 84) | const AUTO = 'auto', constant ATTR_CHANGE_LIST (line 84) | const AUTO = 'auto', function normalizeFontFamily (line 127) | function normalizeFontFamily(fontFamily: string) { function getDummyContext (line 143) | function getDummyContext() { function _fillFunc (line 153) | function _fillFunc(this: Text, context: Context) { function _strokeFunc (line 156) | function _strokeFunc(this: Text, context: Context) { function checkDefaultFill (line 161) | function checkDefaultFill(config?: TextConfig) { class Text (line 207) | class Text extends Shape { method constructor (line 215) | constructor(config?: TextConfig) { method _sceneFunc (line 224) | _sceneFunc(context: Context) { method _hitFunc (line 420) | _hitFunc(context: Context) { method setText (line 429) | setText(text: string) { method getWidth (line 438) | getWidth() { method getHeight (line 442) | getHeight() { method getTextWidth (line 456) | getTextWidth() { method getTextHeight (line 459) | getTextHeight() { method measureSize (line 474) | measureSize(text: string) { method _getContextFont (line 510) | _getContextFont() { method _addTextLine (line 521) | _addTextLine(line: string) { method _getTextWidth (line 533) | _getTextWidth(text: string) { method _setTextData (line 540) | _setTextData() { method _shouldHandleEllipsis (line 706) | _shouldHandleEllipsis(currentHeightPx: number): boolean { method _tryToAddEllipsisToLastLine (line 722) | _tryToAddEllipsisToLastLine(): void { method getStrokeScaleEnabled (line 747) | getStrokeScaleEnabled() { method _useBufferCanvas (line 751) | _useBufferCanvas() { FILE: src/shapes/TextPath.ts type TextPathConfig (line 13) | interface TextPathConfig extends ShapeConfig { constant EMPTY_STRING (line 28) | const EMPTY_STRING = '', constant NORMAL (line 28) | const EMPTY_STRING = '', function _fillFunc (line 31) | function _fillFunc(this: TextPath, context) { function _strokeFunc (line 34) | function _strokeFunc(this: TextPath, context) { class TextPath (line 82) | class TextPath extends Shape { method constructor (line 99) | constructor(config?: TextPathConfig) { method _getTextPathLength (line 119) | _getTextPathLength() { method _getPointAtLength (line 122) | _getPointAtLength(length: number) { method _readDataAttribute (line 137) | _readDataAttribute() { method _sceneFunc (line 142) | _sceneFunc(context: Context) { method _hitFunc (line 216) | _hitFunc(context: Context) { method getTextWidth (line 237) | getTextWidth() { method getTextHeight (line 240) | getTextHeight() { method setText (line 246) | setText(text: string) { method _getContextFont (line 250) | _getContextFont() { method _getTextSize (line 254) | _getTextSize(text: string) { method _setTextData (line 270) | _setTextData() { method getSelfRect (line 393) | getSelfRect() { method destroy (line 431) | destroy(): this { FILE: src/shapes/Transformer.ts type Box (line 14) | interface Box extends IRect { type TransformerConfig (line 18) | interface TransformerConfig extends ContainerConfig { constant EVENTS_NAME (line 54) | const EVENTS_NAME = 'tr-konva'; constant ATTR_CHANGE_LIST (line 56) | const ATTR_CHANGE_LIST = [ constant NODES_RECT (line 77) | const NODES_RECT = 'nodesRect'; constant TRANSFORM_CHANGE_STR (line 79) | const TRANSFORM_CHANGE_STR = [ constant ANGLES (line 94) | const ANGLES = { constant TOUCH_DEVICE (line 105) | const TOUCH_DEVICE = 'ontouchstart' in Konva._global; function getCursor (line 107) | function getCursor(anchorName, rad, rotateCursor) { constant ANCHORS_NAMES (line 146) | const ANCHORS_NAMES = [ constant MAX_SAFE_INTEGER (line 157) | const MAX_SAFE_INTEGER = 100000000; function getCenter (line 159) | function getCenter(shape: Box) { function rotateAroundPoint (line 172) | function rotateAroundPoint(shape: Box, angleRad: number, point: Vector2d) { function rotateAroundCenter (line 189) | function rotateAroundCenter(shape: Box, deltaRad: number) { function getSnap (line 194) | function getSnap(snaps: Array, newRotationRad: number, tol: numb... class Transformer (line 251) | class Transformer extends Group { method constructor (line 265) | constructor(config?: TransformerConfig) { method attachTo (line 290) | attachTo(node: Node) { method setNode (line 294) | setNode(node: Node) { method getNode (line 300) | getNode() { method _getEventNamespace (line 304) | _getEventNamespace() { method setNodes (line 308) | setNodes(nodes: Array = []) { method _proxyDrag (line 367) | _proxyDrag(node: Node) { method getNodes (line 402) | getNodes() { method getActiveAnchor (line 413) | getActiveAnchor() { method detach (line 424) | detach() { method _resetTransformCache (line 447) | _resetTransformCache() { method _getNodeRect (line 452) | _getNodeRect() { method __getNodeShape (line 457) | __getNodeShape(node: Node, rot = this.rotation(), relative?: Node) { method __getNodeRect (line 487) | __getNodeRect() { method getX (line 557) | getX() { method getY (line 560) | getY() { method getWidth (line 563) | getWidth() { method getHeight (line 566) | getHeight() { method _createElements (line 569) | _createElements() { method _createAnchor (line 579) | _createAnchor(name) { method _createBack (line 619) | _createBack() { method _handleMouseDown (line 708) | _handleMouseDown(e) { method _handleMouseMove (line 744) | _handleMouseMove(e) { method _handleMouseUp (line 992) | _handleMouseUp(e) { method getAbsoluteTransform (line 995) | getAbsoluteTransform() { method _removeEvents (line 998) | _removeEvents(e?) { method _fitNodesInto (line 1023) | _fitNodesInto(newAttrs, evt?) { method forceUpdate (line 1195) | forceUpdate() { method _batchChangeChild (line 1200) | _batchChangeChild(selector: string, attrs: any) { method update (line 1205) | update() { method isTransforming (line 1353) | isTransforming() { method stopTransform (line 1362) | stopTransform() { method destroy (line 1371) | destroy() { method add (line 1384) | add(...children: any[]) { method toObject (line 1395) | toObject() { method clone (line 1400) | clone(obj?: any) { method getClientRect (line 1404) | getClientRect() { function validateAnchors (line 1449) | function validateAnchors(val) { FILE: src/shapes/Wedge.ts type WedgeConfig (line 11) | interface WedgeConfig extends ShapeConfig { class Wedge (line 39) | class Wedge extends Shape { method _sceneFunc (line 40) | _sceneFunc(context: Context) { method getWidth (line 54) | getWidth() { method getHeight (line 57) | getHeight() { method setWidth (line 60) | setWidth(width: number) { method setHeight (line 63) | setHeight(height: number) { FILE: src/types.ts type GetSet (line 1) | interface GetSet { type Vector2d (line 6) | interface Vector2d { type PathSegment (line 11) | interface PathSegment { type IRect (line 38) | interface IRect { type IFrame (line 45) | interface IFrame { type AnimationFn (line 52) | type AnimationFn = (frame: IFrame) => boolean | void; type RGB (line 76) | interface RGB { type RGBA (line 82) | interface RGBA extends RGB { FILE: test/import-test.mjs function equal (line 1) | function equal(val1, val2, message) { FILE: test/node-canvas-global-setup.mjs function mochaGlobalSetup (line 1) | async function mochaGlobalSetup() { FILE: test/node-skia-global-setup.mjs function mochaGlobalSetup (line 1) | async function mochaGlobalSetup() { FILE: test/runner.js function init (line 25) | function init() { function addStats (line 70) | function addStats() { function addStage (line 90) | function addStage(attrs) { function createCanvas (line 107) | function createCanvas() { function get (line 117) | function get(element, content) { function compareCanvases (line 124) | function compareCanvases(canvas1, canvas2, tol) { function compareLayerAndCanvas (line 167) | function compareLayerAndCanvas(layer, canvas, tol) { function compareLayers (line 171) | function compareLayers(layer1, layer2, tol) { function cloneAndCompareLayer (line 175) | function cloneAndCompareLayer(layer, tol) { function cloneAndCompareLayerWithHit (line 182) | function cloneAndCompareLayerWithHit(layer, tol) { function compareSceneAndHit (line 194) | function compareSceneAndHit(layer) { function addContainer (line 198) | function addContainer() { function showCanvas (line 206) | function showCanvas(canvas) { function showHit (line 211) | function showHit(layer) { FILE: test/unit/MouseEvents-test.ts function remove (line 35) | function remove() { FILE: test/unit/Node-cache-test.ts function getColor (line 1236) | function getColor(pos) { FILE: test/unit/Shape-test.ts class CustomShape (line 1667) | class CustomShape extends Konva.Shape { method foo (line 1668) | foo() {} FILE: test/unit/Text-test.ts function getOffsetY (line 14) | function getOffsetY( FILE: test/unit/Transformer-test.ts function simulateMouseDown (line 16) | function simulateMouseDown( function simulateMouseMove (line 23) | function simulateMouseMove( function simulateMouseUp (line 43) | function simulateMouseUp(tr: Transformer, pos = { x: 0, y: 0 }) { FILE: test/unit/imagediff.ts function getCanvas (line 13) | function getCanvas(width?, height?) { function getSingleCanvas (line 18) | function getSingleCanvas() { function getImageData (line 25) | function getImageData(width, height) { function isImage (line 35) | function isImage(object) { function isCanvas (line 38) | function isCanvas(object) { function isContext (line 41) | function isContext(object) { function isImageData (line 44) | function isImageData(object) { function isImageType (line 53) | function isImageType(object) { function isType (line 61) | function isType(object, type) { function copyImageData (line 66) | function copyImageData(imageData) { function toImageData (line 84) | function toImageData(object) { function toImageDataFromImage (line 98) | function toImageDataFromImage(image) { function toImageDataFromCanvas (line 109) | function toImageDataFromCanvas(canvas) { function toImageDataFromContext (line 119) | function toImageDataFromContext(context) { function toCanvas (line 125) | function toCanvas(object) { function equalWidth (line 135) | function equalWidth(a, b) { function equalHeight (line 138) | function equalHeight(a, b) { function equalDimensions (line 141) | function equalDimensions(a, b) { function equal (line 145) | function equal(a, b, tolerance, secondTol) { function diff (line 174) | function diff(a, b, options) { function diffEqual (line 177) | function diffEqual(a, b, options) { function diffUnequal (line 195) | function diffUnequal(a, b, options) { function checkType (line 249) | function checkType(...args) { FILE: test/unit/test-utils.ts function getContainer (line 46) | function getContainer() { function addContainer (line 50) | function addContainer() { function addStage (line 60) | function addStage(attrs?) { function loadImage (line 78) | function loadImage(url, callback) { function getPixelRatio (line 96) | function getPixelRatio() { function get (line 100) | function get(element, content?) { function compareCanvases (line 108) | function compareCanvases(canvas1, canvas2, tol = 1, secondTol?) { function compareLayerAndCanvas (line 152) | function compareLayerAndCanvas(layer: Layer, canvas, tol?, secondTol?) { function cloneAndCompareLayer (line 156) | function cloneAndCompareLayer(layer: Layer, tol?, secondTol?) { function compareLayers (line 163) | function compareLayers(layer1: Layer, layer2: Layer, tol?, secondTol?) { function createCanvasAndContext (line 172) | function createCanvasAndContext() { function showHit (line 181) | function showHit(layer) { function simulateMouseDown (line 191) | function simulateMouseDown( function simulateMouseMove (line 206) | function simulateMouseMove( function simulateMouseUp (line 223) | function simulateMouseUp(stage, pos) { function simulateTouchStart (line 238) | function simulateTouchStart(stage, pos, changed?) { function simulateTouchMove (line 275) | function simulateTouchMove(stage, pos, changed?) { function simulateTouchEnd (line 313) | function simulateTouchEnd(stage, pos, changed?) { type SimulatedPointerEvent (line 352) | type SimulatedPointerEvent = { function simulatePointerDown (line 358) | function simulatePointerDown(stage: Stage, pos: SimulatedPointerEvent) { function simulatePointerMove (line 369) | function simulatePointerMove(stage: Stage, pos: SimulatedPointerEvent) { function simulatePointerUp (line 383) | function simulatePointerUp(stage: Stage, pos: SimulatedPointerEvent) { function isClose (line 398) | function isClose(a, b, tol = 0.000001) {