Share via


PathGeometry.FillRule Property

Definition

Gets or sets a value that determines how the intersecting areas contained in the PathGeometry are combined.

public:
 property FillRule FillRule { FillRule get(); void set(FillRule value); };
FillRule FillRule();

void FillRule(FillRule value);
public FillRule FillRule { get; set; }
var fillRule = pathGeometry.fillRule;
pathGeometry.fillRule = fillRule;
Public Property FillRule As FillRule
<PathGeometry FillRule="EvenOdd"/>
-or-
<PathGeometry FillRule="Nonzero"/>

Property Value

A FillRule enumeration value that indicates how the intersecting areas of the PathGeometry are combined. The default is EvenOdd.

Applies to