Home > comp > gb.qt4 > paint > fillrule 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Paint.FillRule (gb.qt4)
Static Property FillRule As Integer

Returns or sets the current fill rule within the current drawing.

The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path.

This property can take one of the following values:

For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.)