| Index: client/samples/spirodraw/Spirodraw.dart
|
| diff --git a/client/samples/spirodraw/Spirodraw.dart b/client/samples/spirodraw/Spirodraw.dart
|
| index 4f3f3ebf903b186ce0686bbaa9d30a073522dd70..109c5a774e892eaeb0b6ac679538c010af24df69 100644
|
| --- a/client/samples/spirodraw/Spirodraw.dart
|
| +++ b/client/samples/spirodraw/Spirodraw.dart
|
| @@ -218,7 +218,7 @@ class Spirodraw {
|
| if (animationEnabled) {
|
| front.beginPath();
|
| front.setLineWidth(2);
|
| - front.setStrokeStyle("gray");
|
| + front.strokeStyle = "gray";
|
| front.arc(xc, yc, R, 0, PI2, true);
|
| front.closePath();
|
| front.stroke();
|
| @@ -245,7 +245,7 @@ class Spirodraw {
|
| front.setLineWidth(1);
|
| front.beginPath();
|
| front.arc(wx, wy, 3, 0, PI2, true);
|
| - front.setFillStyle("black");
|
| + front.fillStyle = "black";
|
| front.fill();
|
| front.closePath();
|
| front.stroke();
|
| @@ -270,11 +270,11 @@ class Spirodraw {
|
| double ty = wy - d * Math.sin(rot);
|
| if (animationEnabled) {
|
| front.beginPath();
|
| - front.setFillStyle(penColor);
|
| + front.fillStyle = penColor;
|
| front.arc(tx, ty, penWidth/2+2, 0, PI2, true);
|
| front.fill();
|
| front.moveTo(wx, wy);
|
| - front.setStrokeStyle("black");
|
| + front.strokeStyle = "black";
|
| front.lineTo(tx, ty);
|
| front.closePath();
|
| front.stroke();
|
| @@ -285,7 +285,7 @@ class Spirodraw {
|
| void drawSegmentTo(double tx, double ty) {
|
| if (lastX > 0) {
|
| back.beginPath();
|
| - back.setStrokeStyle(penColor);
|
| + back.strokeStyle = penColor;
|
| back.setLineWidth(penWidth);
|
| back.moveTo(lastX, lastY);
|
| back.lineTo(tx, ty);
|
|
|