diff options
author | wout <wout@impinc.co.uk> | 2014-07-23 11:44:50 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-07-23 11:44:50 +0200 |
commit | 94077ff77815f622f6ad0daebf26160ec33e0271 (patch) | |
tree | 12e9ab6df8e3fe699f2489ea3d57fe2b8b15239b /README.md | |
parent | 6ac0193538a6358d017875c3a4b183f76894daeb (diff) | |
download | svg.js-94077ff77815f622f6ad0daebf26160ec33e0271.tar.gz svg.js-94077ff77815f622f6ad0daebf26160ec33e0271.zip |
Moved SVG.invent to main svg.js file
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -785,7 +785,6 @@ _Javascript inheritance stack: `SVG.Use` < `SVG.Shape` < `SVG.Element`_ ## Symbol Not unlike the `group` element, the `symbol` element is a container element. The only difference between symbols and groups is that symbols are not rendered. Therefore a `symbol` element is ideal in combination with the `use` element: - ```javascript var symbol = draw.symbol() symbol.rect(100, 100).fill('#f09') @@ -795,7 +794,7 @@ var use = draw.use(symbol).move(200, 200) __`returns`: `SVG.Symbol`__ -_Javascript inheritance stack: `SVG.Use` < `SVG.Container` < `SVG.Symbol`_ +_Javascript inheritance stack: `SVG.Symbol` < `SVG.Container` < `SVG.Element`_ ## Referencing elements |