GraphicsPathIterator.CopyData

GraphicsPathIterator.CopyData method

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

public int CopyData(ref PointF[] points, ref byte[] types, int startIndex, int endIndex)
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.
startIndexInt32Specifies the starting index of the arrays.
endIndexInt32Specifies the ending index of the arrays.

Return Value

The number of points copied.

See Also