NextPathType

GraphicsPathIterator.NextPathType method

获取下一组同类型数据点的起始索引和结束索引。

public int NextPathType(out byte pathType, out int startIndex, out int endIndex)
范围类型描述
pathTypeByte&[out] 接收组内所有点共享的点类型。可能的类型可以从PathPointType枚举。
startIndexInt32&[out] 接收点组的起始索引。
endIndexInt32&[out] 接收点组的结束索引。

返回值

此方法返回组中的数据点数。如果路径中没有更多组,则此方法返回 0。

也可以看看