fill method

fill

Fills the entire region enclosed by the current path. If the path consists of several disconnected subpaths, it fills the insides of all subpaths, considered together. This method terminates current path.

def fill(self, mode):
    ...
ParameterTypeDescription
modeFillRuleFilling mode specifies how the interior of a closed path is filled

See Also