PathSegmentEnumerator Struct
Enumerates the segments of a VectorPath, without allocating. See VectorPath.EnumerateSegments.
public struct PathSegmentEnumerator : IEnumerable<PathSegment>, IEnumerator<PathSegment>, IEnumerable, IEnumerator, IDisposableProperties
| Name | Description |
|---|---|
| Current | Gets the segment the enumerator is on. |
| System.Collections.IEnumerator.Current |
Current
PathSegmentEnumerator.csSystem.Collections.IEnumerator.Current
PathSegmentEnumerator.csMethods
| Name | Description |
|---|---|
| Dispose() | Does nothing: the enumerator holds no resource. |
| GetEnumerator() | Returns the enumerator itself, so that it can be used with foreach. |
| MoveNext() | Moves to the next segment. |
| Reset() | Moves back before the first segment. |
| System.Collections.Generic.IEnumerable<Meziantou.Framework.Imaging.Drawing.PathSegment>.GetEnumerator() | |
| System.Collections.IEnumerable.GetEnumerator() |
Dispose()
PathSegmentEnumerator.csDoes nothing: the enumerator holds no resource.
public readonly void Dispose()GetEnumerator()
PathSegmentEnumerator.csReturns the enumerator itself, so that it can be used with foreach.
public readonly PathSegmentEnumerator GetEnumerator()Returns
PathSegmentEnumerator A copy of this enumerator.
MoveNext()
PathSegmentEnumerator.csReset()
PathSegmentEnumerator.csMoves back before the first segment.
public void Reset()System.Collections.Generic.IEnumerable<Meziantou.Framework.Imaging.Drawing.PathSegment>.GetEnumerator()
PathSegmentEnumerator.csIEnumerator<PathSegment> IEnumerable<PathSegment>.GetEnumerator()Returns
No documentation is available.