Method SetFillMode
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
SetFillMode(FillMode)
Specifies the method used to determine which points are inside the geometry described by this geometry sink and which points are outside.
void SetFillMode(FillMode fillMode)
Parameters
fillMode
FillModeThe method used to determine whether a given point is part of the geometry.
Remarks
The fill mode defaults to Alternate. To set the fill mode, call SetFillMode(FillMode) before the first call to BeginFigure(Point2Float, FigureBegin). Not doing so will put the geometry sink into an error state.