HTML and CSS Reference
In-Depth Information
context
.
lineTo
(
0
,
-
1
);
context
.
moveTo
(
-
1
,
-
1
);
context
.
lineTo
(
-
10
,
9
);
context
.
lineTo
(
-
1
,
-
10
);
context
.
stroke
();
context
.
closePath
();
//restore context
context
.
restore
();
//pop old state on to screen
//add to rotation
alpha
+=
.
01
;
iif
(
alpha
>
1
) {
alpha
=
0
;
}
}