Function painter:fill
fills the interior of the
current path using
the current brush.
The optional boolean optnewpath
specifies
whether this function resets the current path
using painter:newpath()
.
The default is to reset the current path.
The interior of the current path is determined using the
winding rule.
See function painter:eofill
for an alternative.
See also: PostScript operator fill
.