image.fillStyle = c
if ( c == "#FFF" ) image.lineWidth = 32
else image.lineWidth = 4
- data.value += " stroke " + c + " stroke-width " + image.lineWidth
+ data.value += " stroke " + c + "F" + " stroke-width " + image.lineWidth
}
-setcol("$tpy[color]")
function relX(x){
if ( body.clientWidth >= 800 ){
stx=relX(x), sty=relY(y)
+ document.getElementsByName("color").forEach(
+ function(x, y, z){ if (x.checked) setcol(x.value); }
+ );
+
image.beginPath()
draw(x, y) // why must this not use relative Coords ???