System\Drawing\Drawing2D\GraphicsPath.cs (23)
15/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
16public GraphicsPath() : this(FillMode.Alternate) { }
18/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
19public GraphicsPath(FillMode fillMode)
26/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
27public GraphicsPath(PointF[] pts, byte[] types) : this(pts, types, FillMode.Alternate) { }
29/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
30public GraphicsPath(PointF[] pts, byte[] types, FillMode fillMode)
35/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
41GraphicsPath(ReadOnlySpan<PointF> pts, ReadOnlySpan<byte> types, FillMode fillMode = FillMode.Alternate)
57/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
58public GraphicsPath(Point[] pts, byte[] types) : this(pts, types, FillMode.Alternate) { }
66/// A <see cref="Drawing2D.FillMode"/> enumeration that specifies how the interiors of shapes in this <see cref="GraphicsPath"/>
68public GraphicsPath(Point[] pts, byte[] types, FillMode fillMode)
71/// <inheritdoc cref="GraphicsPath(Point[], byte[], FillMode)"/>
77GraphicsPath(ReadOnlySpan<Point> pts, ReadOnlySpan<byte> types, FillMode fillMode = FillMode.Alternate)
148public FillMode FillMode
155return (FillMode)fillMode;
159if (value is < FillMode.Alternate or > FillMode.Winding)
160throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(FillMode));