From c91a623e4ed02df8887f0fb9e02c6d7127758368 Mon Sep 17 00:00:00 2001 From: Billy Lamberta Date: Wed, 15 Dec 2010 01:59:09 -0500 Subject: [PATCH] Some demo's lineStyle was set to 0, now 1. --- doc/demos/making_things_move/chap13/classes/Segment.js | 2 +- doc/demos/making_things_move/chap13/classes/SimpleSlider.js | 4 ++-- doc/demos/making_things_move/chap14/classes/Segment.js | 2 +- doc/demos/making_things_move/chap15/classes/Ball3D.js | 4 ++-- doc/demos/making_things_move/chap15/classes/Tree.js | 2 +- doc/demos/making_things_move/chap16/01-lines_3d_1.html | 2 +- doc/demos/making_things_move/chap16/02-lines_3d_2.html | 2 +- doc/demos/making_things_move/chap16/03-square_3d.html | 2 +- doc/demos/making_things_move/chap16/04-spinning_e.html | 2 +- doc/demos/making_things_move/chap16/05-filled_e.html | 2 +- doc/demos/making_things_move/chap16/classes/Ball3D.js | 2 +- doc/demos/making_things_move/chap18/classes/Ball3D.js | 4 ++-- doc/demos/making_things_move/chap19/02-brownian_2.html | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/demos/making_things_move/chap13/classes/Segment.js b/doc/demos/making_things_move/chap13/classes/Segment.js index f87e40d..4208ba7 100644 --- a/doc/demos/making_things_move/chap13/classes/Segment.js +++ b/doc/demos/making_things_move/chap13/classes/Segment.js @@ -9,7 +9,7 @@ function Segment (segmentWidth, segmentHeight, color) { function init () { //draw the segment itself - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(color); this.graphics.roundRect(-segmentHeight / 2, -segmentHeight / 2, diff --git a/doc/demos/making_things_move/chap13/classes/SimpleSlider.js b/doc/demos/making_things_move/chap13/classes/SimpleSlider.js index e59e1e4..81cfbdc 100644 --- a/doc/demos/making_things_move/chap13/classes/SimpleSlider.js +++ b/doc/demos/making_things_move/chap13/classes/SimpleSlider.js @@ -48,7 +48,7 @@ function SimpleSlider (min, max, value) { function drawBack () { _back.graphics.clear(); _back.graphics.beginFill(_backColor); - _back.graphics.lineStyle(0, _backBorderColor); + _back.graphics.lineStyle(1, _backBorderColor); _back.graphics.roundRect(0, 0, _backWidth, _height, _backRadius, _backRadius); _back.graphics.endFill(); _back.x = _width / 2 - _backWidth / 2; @@ -57,7 +57,7 @@ function SimpleSlider (min, max, value) { function drawHandle () { _handle.graphics.clear(); _handle.graphics.beginFill(_handleColor); - _handle.graphics.lineStyle(0, _handleBorderColor); + _handle.graphics.lineStyle(1, _handleBorderColor); _handle.graphics.roundRect(0, 0, _width, _handleHeight, _handleRadius, _handleRadius); _handle.graphics.endFill(); } diff --git a/doc/demos/making_things_move/chap14/classes/Segment.js b/doc/demos/making_things_move/chap14/classes/Segment.js index f87e40d..4208ba7 100644 --- a/doc/demos/making_things_move/chap14/classes/Segment.js +++ b/doc/demos/making_things_move/chap14/classes/Segment.js @@ -9,7 +9,7 @@ function Segment (segmentWidth, segmentHeight, color) { function init () { //draw the segment itself - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(color); this.graphics.roundRect(-segmentHeight / 2, -segmentHeight / 2, diff --git a/doc/demos/making_things_move/chap15/classes/Ball3D.js b/doc/demos/making_things_move/chap15/classes/Ball3D.js index f11f4fc..dbb5601 100644 --- a/doc/demos/making_things_move/chap15/classes/Ball3D.js +++ b/doc/demos/making_things_move/chap15/classes/Ball3D.js @@ -11,7 +11,7 @@ function Ball3D (radius, color) { this.vz = 0; this.mass = 1; - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(color); this.graphics.circle(0, 0, this.radius); this.graphics.endFill(); @@ -21,7 +21,7 @@ function Ball3D (radius, color) { */ this.color_transform = function (colorValue) { this.graphics.clear(); - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(colorValue); this.graphics.circle(0, 0, this.radius); this.graphics.endFill(); diff --git a/doc/demos/making_things_move/chap15/classes/Tree.js b/doc/demos/making_things_move/chap15/classes/Tree.js index 3043362..9905c82 100644 --- a/doc/demos/making_things_move/chap15/classes/Tree.js +++ b/doc/demos/making_things_move/chap15/classes/Tree.js @@ -4,7 +4,7 @@ function Tree () { this.ypos = 0; this.zpos = 0; - this.graphics.lineStyle(0, 0xffffff); + this.graphics.lineStyle(1, 0xffffff); this.graphics.beginPath(); this.graphics.lineTo(0, -140 - Math.random() * 20); this.graphics.moveTo(0, -30 - Math.random() * 30); diff --git a/doc/demos/making_things_move/chap16/01-lines_3d_1.html b/doc/demos/making_things_move/chap16/01-lines_3d_1.html index 4521707..289bd3d 100644 --- a/doc/demos/making_things_move/chap16/01-lines_3d_1.html +++ b/doc/demos/making_things_move/chap16/01-lines_3d_1.html @@ -57,7 +57,7 @@ } lines.graphics.clear(); - lines.graphics.lineStyle(0); + lines.graphics.lineStyle(1); lines.graphics.beginPath(); lines.graphics.moveTo(balls[0].x, balls[0].y); for (i = 1; i < numBalls; i++) { diff --git a/doc/demos/making_things_move/chap16/02-lines_3d_2.html b/doc/demos/making_things_move/chap16/02-lines_3d_2.html index 3cc2008..cf13042 100644 --- a/doc/demos/making_things_move/chap16/02-lines_3d_2.html +++ b/doc/demos/making_things_move/chap16/02-lines_3d_2.html @@ -55,7 +55,7 @@ } lines.graphics.clear(); - lines.graphics.lineStyle(0); + lines.graphics.lineStyle(1); lines.graphics.beginPath(); lines.graphics.moveTo(points[0].screenX, points[0].screenY); for (i = 1; i < numPoints; i++) { diff --git a/doc/demos/making_things_move/chap16/03-square_3d.html b/doc/demos/making_things_move/chap16/03-square_3d.html index 54d1794..592219d 100644 --- a/doc/demos/making_things_move/chap16/03-square_3d.html +++ b/doc/demos/making_things_move/chap16/03-square_3d.html @@ -55,7 +55,7 @@ } lines.graphics.clear(); - lines.graphics.lineStyle(0); + lines.graphics.lineStyle(1); lines.graphics.beginPath(); lines.graphics.moveTo(points[0].screenX, points[0].screenY); for (i = 1; i < numPoints; i++) { diff --git a/doc/demos/making_things_move/chap16/04-spinning_e.html b/doc/demos/making_things_move/chap16/04-spinning_e.html index 1735ef3..2b20127 100644 --- a/doc/demos/making_things_move/chap16/04-spinning_e.html +++ b/doc/demos/making_things_move/chap16/04-spinning_e.html @@ -66,7 +66,7 @@ } lines.graphics.clear(); - lines.graphics.lineStyle(0); + lines.graphics.lineStyle(1); lines.graphics.beginPath(); lines.graphics.moveTo(points[0].screenX, points[0].screenY); for (i = 1; i < numPoints; i++) { diff --git a/doc/demos/making_things_move/chap16/05-filled_e.html b/doc/demos/making_things_move/chap16/05-filled_e.html index 9d3edb0..439eeaa 100644 --- a/doc/demos/making_things_move/chap16/05-filled_e.html +++ b/doc/demos/making_things_move/chap16/05-filled_e.html @@ -66,7 +66,7 @@ } lines.graphics.clear(); - lines.graphics.lineStyle(0); + lines.graphics.lineStyle(1); lines.graphics.beginFill(0xffcccc); lines.graphics.beginPath(); lines.graphics.moveTo(points[0].screenX, points[0].screenY); diff --git a/doc/demos/making_things_move/chap16/classes/Ball3D.js b/doc/demos/making_things_move/chap16/classes/Ball3D.js index c027153..c546e7c 100644 --- a/doc/demos/making_things_move/chap16/classes/Ball3D.js +++ b/doc/demos/making_things_move/chap16/classes/Ball3D.js @@ -10,7 +10,7 @@ function Ball3D (radius, color) { this.vz = 0; this.mass = 1; - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(color); this.graphics.circle(0, 0, this.radius); this.graphics.endFill(); diff --git a/doc/demos/making_things_move/chap18/classes/Ball3D.js b/doc/demos/making_things_move/chap18/classes/Ball3D.js index f11f4fc..dbb5601 100644 --- a/doc/demos/making_things_move/chap18/classes/Ball3D.js +++ b/doc/demos/making_things_move/chap18/classes/Ball3D.js @@ -11,7 +11,7 @@ function Ball3D (radius, color) { this.vz = 0; this.mass = 1; - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(color); this.graphics.circle(0, 0, this.radius); this.graphics.endFill(); @@ -21,7 +21,7 @@ function Ball3D (radius, color) { */ this.color_transform = function (colorValue) { this.graphics.clear(); - this.graphics.lineStyle(0); + this.graphics.lineStyle(1); this.graphics.beginFill(colorValue); this.graphics.circle(0, 0, this.radius); this.graphics.endFill(); diff --git a/doc/demos/making_things_move/chap19/02-brownian_2.html b/doc/demos/making_things_move/chap19/02-brownian_2.html index f5387cb..873f393 100644 --- a/doc/demos/making_things_move/chap19/02-brownian_2.html +++ b/doc/demos/making_things_move/chap19/02-brownian_2.html @@ -47,7 +47,7 @@ * this requires a persistent bitmap to draw to. */ var lines = doodle.Sprite(); - lines.graphics.lineStyle(0, 0, 0.5); + lines.graphics.lineStyle(1, 0, 0.5); lines.graphics.beginPath(); layer0.addChild(lines);