Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Commit

Permalink
Some demo's lineStyle was set to 0, now 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy Lamberta committed Dec 15, 2010
1 parent 77b42cf commit c91a623
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap13/classes/Segment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions doc/demos/making_things_move/chap13/classes/SimpleSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap14/classes/Segment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions doc/demos/making_things_move/chap15/classes/Ball3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap15/classes/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/01-lines_3d_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/02-lines_3d_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/03-square_3d.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/04-spinning_e.html
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/05-filled_e.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap16/classes/Ball3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions doc/demos/making_things_move/chap18/classes/Ball3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion doc/demos/making_things_move/chap19/02-brownian_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c91a623

Please sign in to comment.