HTML and CSS Reference
In-Depth Information
function
function
shadowBlurChanged
(
e
) {
var
var
target
=
e
.
target
;
shadowBlur
=
target
.
value
;
drawScreen
();
}
function
function
shadowColorChanged
(
e
) {
var
var
target
=
e
.
target
;
shadowColor
=
target
.
value
;
drawScreen
();
}
function
function
textAlphaChanged
(
e
) {
var
var
target
=
e
.
target
;
textAlpha
=
(
target
.
value
);
drawScreen
();
}
function
function
textFillColor2Changed
(
e
) {
var
var
target
=
e
.
target
;
textFillColor2
=
"#"
+
target
.
value
;
drawScreen
();
}
function
function
fillTypeChanged
(
e
) {
var
var
target
=
e
.
target
;
fillType
=
target
.
value
;
drawScreen
();
}
function
function
canvasWidthChanged
(
e
) {
var
var
target
=
e
.
target
;
theCanvas
.
width
=
target
.
value
;
drawScreen
();
}
function
function
canvasHeightChanged
(
e
) {
var
var
target
=
e
.
target
;
theCanvas
.
height
=
target
.
value
;
drawScreen
();
}
function
function
canvasStyleSizeChanged
(
e
) {
var
var
styleWidth
=
document
.
getElementById
(
"canvasStyleWidth"
);
var
var
styleHeight
=
document
.
getElementById
(
"canvasStyleHeight"
);
var
var
styleValue
=
"width:"
+
styleWidth
.
value
+
"px; height:"
+