FloodFill
From Director Online Wiki
| Table of contents |
[edit]
Description
Undocumented, image method.
implemented since DIR 8.5 (?)
Floodfills an image, starting from passed point with passed color.
much faster than doing it with setPixel(),...
[edit]
Params
point startPoint | int x, int y rgb|color color
[edit]
Example
tImg = image(100,100,32)
tImg.floodFill( 10, 10, rgb(255,0,0) )
tImg.floodFill( point(10,10), rgb(255,0,0) )
tImg.floodFill( point(10,10), color(255,0,0) )
[edit]
See also
Macromedia Devnet article[1] (http://www.macromedia.com/devnet/director/articles/imaging_lingo_06.html)
Demo of floodfill with an image [2] (http://nonlinear.openspark.com/tips/imaging/floodfill/)