Share via


Polygon.FillRule Property

Definition

Gets or sets a value that specifies how the interior fill of the shape is determined.

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

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

Property Value

A value of the enumeration. The default is EvenOdd.

Remarks

See the FillRule enumeration for more info.

Applies to