HTML and CSS Reference
In-Depth Information
context
.
lineTo
(
-
(
halfWidth
-
1
),(
halfHeight
-
1
));
context
.
lineTo
(
-
(
halfWidth
-
1
),
-
(
halfHeight
-
1
));
context
.
stroke
();
context
.
closePath
();
context
.
restore
();
//pop old state on to screen
}
//*** end Rock Class