Table of Contents

Method DrawPolygon

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Framework.dll

DrawPolygon(IDeviceContext, ReadOnlySpan<Point2Float>, IDeviceBrush, float, IStrokeStyle?)

public static void DrawPolygon(this IDeviceContext deviceContext, ReadOnlySpan<Point2Float> points, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
points ReadOnlySpan<Point2Float>
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle