summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsko Kauppi <asko@bmdesign.fi>2016-01-16 22:27:59 +0200
committerAsko Kauppi <asko@bmdesign.fi>2016-01-16 22:27:59 +0200
commit4db71e7f9843ddd7e24a0b6c85d4acdf7ae1930b (patch)
tree766199691667edcda7132bff36c93c9063de47eb
parentbda9f32dcd38ff1e71b5783bfa26f3012ae3cc7c (diff)
downloadsvg.js-4db71e7f9843ddd7e24a0b6c85d4acdf7ae1930b.tar.gz
svg.js-4db71e7f9843ddd7e24a0b6c85d4acdf7ae1930b.zip
commentary fix; circle and ellipse sample code
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c27af9c..141b74f 100644
--- a/README.md
+++ b/README.md
@@ -228,7 +228,7 @@ _Javascript inheritance stack: `SVG.Circle` < `SVG.Shape` < `SVG.Element`_
Circles can also be redefined by their radius:
```javascript
-rect.radius(75)
+circle.radius(75)
```
__`returns`: `itself`__
@@ -248,7 +248,7 @@ _Javascript inheritance stack: `SVG.Ellipse` < `SVG.Shape` < `SVG.Element`_
Ellipses can also be redefined by their radii:
```javascript
-rect.radius(75, 50)
+ellipse.radius(75, 50)
```
__`returns`: `itself`__