Class GraphicsPathIterator

GraphicsPathIterator class

でサブパスを反復する機能を提供します。GraphicsPath各サブパスに含まれる形状のタイプをテストします. このクラスは継承できません.

public sealed class GraphicsPathIterator : IDisposable

コンストラクター

名前説明
GraphicsPathIterator(GraphicsPath)の新しいインスタンスを初期化しますGraphicsPathIteratorclass.

プロパティ

名前説明
Count { get; }パスのポイント数を取得します。
SubpathCount { get; }パス内のサブパスの数を取得します。

メソッド

名前説明
CopyData(ref PointF[], ref byte[], int, int)関連するGraphicsPath指定された2つの配列に.
Dispose()アンマネージ リソースの解放、解放、またはリセットに関連するアプリケーション定義のタスクを実行します。
Enumerate(ref PointF[], ref byte[])関連するGraphicsPath指定された2つの配列に.
HasCurve()パスがこれに関連付けられているかどうかを示しますGraphicsPathIterator曲線が含まれています.
NextMarker(GraphicsPath)これGraphicsPathIteratorオブジェクトはGraphicsPathそれに関連付けられたオブジェクト. このメソッドは、関連付けられたGraphicsPathpath 内の次のマーカーにコピーし、現在のマーカーと次のマーカー (またはパスの終わり) の間に含まれるすべてのポイントを 1 秒にコピーします。GraphicsPathパラメータに渡されたオブジェクト.
NextMarker(out int, out int)インクリメントGraphicsPathIteratorpath の次のマーカーに移動し、[out] パラメータを介して開始インデックスと終了インデックスを返します。
NextPathType(out byte, out int, out int)すべて同じタイプのデータ ポイントの次のグループの開始インデックスと終了インデックスを取得します。
NextSubpath(GraphicsPath, out bool)この関連付けられたパスから次の図形 (サブパス) を取得しますGraphicsPathIterator.
NextSubpath(out int, out int, out bool)移動しますGraphicsPathIteratorパス内の次のサブパスへ。 [out] パラメータには、次のサブパスの開始インデックスと終了インデックスが含まれます。
Rewind()これを巻き戻しますGraphicsPathIterator関連するパスの先頭に.

関連項目