aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWout <wout@users.noreply.github.com>2016-10-13 19:16:14 +0200
committerGitHub <noreply@github.com>2016-10-13 19:16:14 +0200
commit6f4fd728afa6c3b590ae094b5d9e7ed716075b73 (patch)
tree72f86690394154dea1d9db0d19ee3255b0d580fb
parent2bf31074416fa6ffb4117d50e304e84d64d88930 (diff)
downloadsvg.js-6f4fd728afa6c3b590ae094b5d9e7ed716075b73.tar.gz
svg.js-6f4fd728afa6c3b590ae094b5d9e7ed716075b73.zip
Fixed error in README
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d772263..c5587ae 100644
--- a/README.md
+++ b/README.md
@@ -1839,8 +1839,8 @@ This will return an instance of `SVG.BBox` containing the following values:
The `SVG.BBox` has one other nifty little feature, enter the `merge()` method. With `merge()` two `SVG.BBox` instances can be merged into one new instance, basically being the bounding box of the two original bounding boxes:
```javascript
-var box1 = draw.rect(100,100).move(50,50)
-var box2 = draw.rect(100,100).move(200,200)
+var box1 = draw.rect(100,100).move(50,50).bbox()
+var box2 = draw.rect(100,100).move(200,200).bbox()
var box3 = box1.merge(box2)
```
s/archiva-web/archiva-webapp/src/main/archiva-web/minimist-1.2.8'>dependabot/npm_and_yarn/archiva-modules/archiva-web/archiva-webapp/src/main/archiva-web/minimist-1.2.8 Apache Archiva Repository: https://github.com/apache/archivawww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-mock/pom.xml
blob: 8bcbd2b2b98f60afc6ad1ae861cb10a5eb2b2f30 (plain)
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