Drawing filled shapes
fills in a region of the graphics window containing the turtle and bounded by lines that have been drawn earlier. This is not portable; it doesn't work for all machines, and may not work exactly the same way on different machines.
The command (fill "true) fills the area around the turtle defined by the color specified by penColor. Filling continues outward in all directions as long as the color is encountered. This style is useful for filling areas with multicolored boundaries.
The third variant of fill takes an integer number as input, which specifies the applied flood fill method. It can be one of the following constants:
The xxx_SURFACE types are like using (fill "true).
Using the xxx_TOLERANT fill types colors with a deviation are permitted. So you can use antialiased lines as boundary, or fill regions containing several colors near the pen color. The fill color tolerance can be set with the command setFillTolerance.
The SMALL methods are a bit faster for small areas than the other methods.
In most cases fill is not as fast and exact as drawing a tesselated polygon, using Tesselation.
BitFill(2), lShift(2), savePostScript(2), scrollCalibrate(2), BoxSizerAdd, FloodColor, GraphOnRightDown, OnMouseRightDown, Release Notes for Version 4.64, Release Notes for Version 4.7, WindowSetInitialSize, allFullScreen, setFillTolerance