Draw the interior of the current path using the fill style.
Interior pixels are determined by the non-zero winding rule,
with all open subpaths implicitly closed by a straight line
beforehand. If shadows have been enabled by setting the shadow
color with any opacity and either offsetting or blurring the
shadows, then the shadows of the filled areas will be drawn
first, followed by the filled areas themselves. Both will be
blended into the canvas according to the global alpha, the
global compositing operation, and the clip region. If the fill
style is a gradient or a pattern, it will be affected by the
current transform. The current path is left unchanged by
filling; begin a new path to clear it. If the current
transform is not invertible, this does nothing.
Draw the interior of the current path using the fill style.
Interior pixels are determined by the non-zero winding rule, with all open subpaths implicitly closed by a straight line beforehand. If shadows have been enabled by setting the shadow color with any opacity and either offsetting or blurring the shadows, then the shadows of the filled areas will be drawn first, followed by the filled areas themselves. Both will be blended into the canvas according to the global alpha, the global compositing operation, and the clip region. If the fill style is a gradient or a pattern, it will be affected by the current transform. The current path is left unchanged by filling; begin a new path to clear it. If the current transform is not invertible, this does nothing.