From 5e752f3ee676dfdbd3183dfbd033696cc1fcf907 Mon Sep 17 00:00:00 2001 From: Preet Shihn Date: Mon, 12 Mar 2018 10:56:35 -0700 Subject: [PATCH] . --- README.md | 6 +++--- docs/README.md | 6 +++--- examples/2.0/test.html | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8ed0fc7..b5770da 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ rough.rectangle(10, 10, 200, 200); // x, y, width, height ```js rc.circle(80, 120, 50); // centerX, centerY, diameter -rc.ellipse(300, 100, 150, 80); // centerX, centerY, radiusX, radiusY +rc.ellipse(300, 100, 150, 80); // centerX, centerY, width, height rc.line(80, 120, 300, 100); // x1, y1, x2, y2 ``` @@ -82,7 +82,7 @@ rc.path('M230 230 A 45 45, 0, 1, 1, 275 275 L 275 230 Z', { fill: 'blue' }); If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs. ```html - + ``` @@ -92,7 +92,7 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page ## Examples -[View examples on Wiki](https://github.com/pshihn/rough/wiki/Examples) +[View examples here](https://github.com/pshihn/rough/wiki/Examples) ## API & Documentation diff --git a/docs/README.md b/docs/README.md index 8ed0fc7..b5770da 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,7 +30,7 @@ rough.rectangle(10, 10, 200, 200); // x, y, width, height ```js rc.circle(80, 120, 50); // centerX, centerY, diameter -rc.ellipse(300, 100, 150, 80); // centerX, centerY, radiusX, radiusY +rc.ellipse(300, 100, 150, 80); // centerX, centerY, width, height rc.line(80, 120, 300, 100); // x1, y1, x2, y2 ``` @@ -82,7 +82,7 @@ rc.path('M230 230 A 45 45, 0, 1, 1, 275 275 L 275 230 Z', { fill: 'blue' }); If you have [Workly](https://github.com/pshihn/workly) imported on your web page (~1k only), RoughJS will automatically offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs. ```html - + ``` @@ -92,7 +92,7 @@ If you have [Workly](https://github.com/pshihn/workly) imported on your web page ## Examples -[View examples on Wiki](https://github.com/pshihn/rough/wiki/Examples) +[View examples here](https://github.com/pshihn/rough/wiki/Examples) ## API & Documentation diff --git a/examples/2.0/test.html b/examples/2.0/test.html index 2656baf..e7a89f6 100644 --- a/examples/2.0/test.html +++ b/examples/2.0/test.html @@ -2,7 +2,7 @@ RoughJS sample - +