¡@

Home 

javascript Programming Glossary: redindex

How can I perform flood fill with HTML Canvas?

http://stackoverflow.com/questions/2106995/how-can-i-perform-flood-fill-with-html-canvas

getColor function pixels x y width height useColor var redIndex y width 4 x 4 if useColor undefined useColor r pixels redIndex.. y width 4 x 4 if useColor undefined useColor r pixels redIndex g pixels redIndex 1 b pixels redIndex 2 a pixels redIndex 3.. if useColor undefined useColor r pixels redIndex g pixels redIndex 1 b pixels redIndex 2 a pixels redIndex 3 else useColor.r pixels..