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
meshIDeviceMeshThe mesh to paint.
brushIDeviceBrushThe 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.