Table of Contents

Method FillMesh

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

FillMesh(IDeviceMesh, IDeviceBrush)

Paints the interior of the specified mesh.
NOTE: The AntialiasMode must be set to Aliased.

void FillMesh(IDeviceMesh mesh, IDeviceBrush brush)

Parameters

mesh IDeviceMesh

The mesh to paint.

brush IDeviceBrush

The brush used to paint the mesh.

Remarks

FillMesh does not expect a particular winding order for the triangles in the IDeviceMesh; both clockwise and counter-clockwise will work.