CopyData

GraphicsPathIterator.CopyData method

复制关联的 GraphicsPath.PathPoints 属性和 GraphicsPath.PathTypes 属性数组 GraphicsPath进入两个指定的数组。

public int CopyData(ref PointF[] points, ref byte[] types, int startIndex, int endIndex)
范围类型描述
pointsPointF[]&返回时,包含一个 System.Drawing.PointF 结构数组,表示路径中的点。
typesByte[]&返回时,包含表示路径中点类型的字节数组。
startIndexInt32指定数组的起始索引。
endIndexInt32指定数组的结束索引。

返回值

复制的点数。

也可以看看