Skip to main content

SetFillRule Method

Sets path's winding rule (default is EvenOdd). You should call this method before any calls to BeginFigure. If you wonder why, ask Direct2D guys about their design decisions.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void SetFillRule(
FillRule fillRule
)

Parameters​

  FillRule

Implements​

IGeometryContext.SetFillRule(FillRule)

See Also​

Reference​

StreamGeometryContext Class
Avalonia.Media Namespace