PeachDrawing.Core

PeachDrawing.Core.Geometry.PathShapes

PathShapes.AddPolygon(this GraphicsPath, IReadOnlyList<PaintPoint>) Method

Adds a closed polygon through points. Fewer than two points add nothing.

public static void AddPolygon(this PeachDrawing.Core.GraphicsPath path, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PaintPoint> points);

Parameters

path GraphicsPath

the path to add to

points System.Collections.Generic.IReadOnlyList<PaintPoint>

the polygon’s vertices in order