-
Notifications
You must be signed in to change notification settings - Fork 441
Expand file tree
/
Copy pathindex.js
More file actions
61 lines (57 loc) · 1.79 KB
/
Copy pathindex.js
File metadata and controls
61 lines (57 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* A {@link https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle|color, gradient or pattern} to use inside shapes.
* @typedef {(String|CanvasGradient|CanvasPattern)} FillStyle
*/
/**
* A {@link https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/strokeStyle|color, gradient or pattern} to use for the lines around shapes.
* @typedef {(String|CanvasGradient|CanvasPattern)} StrokeStyle
*/
/**
* @callback ContextFn
* @param {CanvasRenderingContext2D} context
*/
import draw from './draw.js';
import drawArrow from './drawArrow.js';
import drawCircle from './drawCircle.js';
import drawEllipse from './drawEllipse.js';
import drawHandles from './drawHandles.js';
import drawJoinedLines from './drawJoinedLines.js';
import drawLine from './drawLine.js';
import drawLines from './drawLines.js';
import drawLink from './drawLink.js';
import drawLinkedTextBox from './drawLinkedTextBox.js';
import drawRect from './drawRect.js';
import drawTextBox from './drawTextBox.js';
import fillBox from './fillBox.js';
import fillOutsideRect from './fillOutsideRect.js';
import fillTextLines from './fillTextLines.js';
import getNewContext from './getNewContext.js';
import path from './path.js';
import setShadow from './setShadow.js';
import transformCanvasContext from './transformCanvasContext.js';
import resetCanvasContextTransform from './resetCanvasContextTransform.js';
import drawHeight from './drawHeight.js';
// Named exports
export {
draw,
drawArrow,
drawCircle,
drawEllipse,
drawHandles,
drawJoinedLines,
drawLine,
drawLines,
drawLink,
drawLinkedTextBox,
drawRect,
drawTextBox,
fillBox,
fillOutsideRect,
fillTextLines,
getNewContext,
path,
setShadow,
transformCanvasContext,
resetCanvasContextTransform,
drawHeight,
};