Context.setFillRule

Set the current fill rule within the cairo context. The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path. The current fill rule affects both cairo.context.Context.fill and cairo.context.Context.clip. See #cairo_fill_rule_t for details on the semantics of each available fill rule.

The default fill rule is cairo.types.FillRule.Winding.

class Context
void
setFillRule

Parameters

fillRule cairo.types.FillRule

a fill rule, specified as a #cairo_fill_rule_t