Table of Contents

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 IDeviceContext
points ReadOnlySpan<Point2Float>
brush IDeviceBrush
opacityBrush IDeviceBrush
fillMode FillMode