GraphicsPathIterator.Enumerate

GraphicsPathIterator.Enumerate method

Copies the GraphicsPath.PathPoints property and GraphicsPath.PathTypes property arrays of the associated GraphicsPath into the two specified arrays.

public int Enumerate(ref PointF[] points, ref byte[] types)
ParameterTypeDescription
pointsPointF[]&Upon return, contains an array of System.Drawing.PointF structures that represents the points in the path.
typesByte[]&Upon return, contains an array of bytes that represents the types of points in the path.

Return Value

The number of points copied.

See Also