Method FillPolygon
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
FillPolygon(IDeviceContext, ReadOnlySpan<Point2Float>, IDeviceBrush, IDeviceBrush?, FillMode)
public static void FillPolygon(this IDeviceContext deviceContext, ReadOnlySpan<Point2Float> points, IDeviceBrush brush, IDeviceBrush? opacityBrush = null, FillMode fillMode = FillMode.Alternate)
Parameters
deviceContext
IDeviceContextpoints
ReadOnlySpan<Point2Float>brush
IDeviceBrushopacityBrush
IDeviceBrushfillMode
FillMode