<PackageReference Include="System.Drawing.Common" Version="9.0.1" />

GraphicsPathIterator

Provides the ability to iterate through subpaths in a GraphicsPath and test the types of shapes contained in each subpath. This class cannot be inherited.
using System.Runtime.CompilerServices; namespace System.Drawing.Drawing2D { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class GraphicsPathIterator : MarshalByRefObject, IDisposable { public int Count { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public int SubpathCount { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } [System.Runtime.CompilerServices.NullableContext(2)] public GraphicsPathIterator(GraphicsPath path) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int CopyData(ref PointF[] points, ref byte[] types, int startIndex, int endIndex) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Dispose() { } public int Enumerate(ref PointF[] points, ref byte[] types) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } ~GraphicsPathIterator() { } public bool HasCurve() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int NextMarker(GraphicsPath path) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int NextMarker(out int startIndex, out int endIndex) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int NextPathType(out byte pathType, out int startIndex, out int endIndex) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int NextSubpath(GraphicsPath path, out bool isClosed) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int NextSubpath(out int startIndex, out int endIndex, out bool isClosed) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Rewind() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }