GraphicsPath クラス (gdipluspath.h)

GraphicsPath オブジェクトは、一連の線、曲線、および図形を格納します。 Graphics オブジェクトの DrawPath メソッドを呼び出すことで、シーケンス全体を描画できます。 線、曲線、図形のシーケンスを図形に分割し、 GraphicsPathIterator オブジェクトを使用して、選択した図形を描画できます。 また、シーケンス内にマーカーを配置して、パスの選択した部分を描画することもできます。

継承

GraphicsPath クラスは GdiplusBase を実装します。

メソッド

GraphicsPath クラスには、これらのメソッドがあります。

 
GraphicsPath::AddArc

GraphicsPath::AddArc メソッドは、このパスの現在の図形に楕円の円弧を追加します。 (オーバーロード 1/4)
GraphicsPath::AddArc

GraphicsPath::AddArc メソッドは、このパスの現在の図形に楕円の円弧を追加します。 (オーバーロード 4/4)
GraphicsPath::AddArc

GraphicsPath::AddArc メソッドは、このパスの現在の図形に楕円の円弧を追加します。 (オーバーロード 3/4)
GraphicsPath::AddArc

GraphicsPath::AddArc メソッドは、このパスの現在の図形に楕円の円弧を追加します。 (オーバーロード 2/4)
GraphicsPath::AddBezier

GraphicsPath::AddBezier メソッドは、このパスの現在の図形に B zier スプラインを追加します。 (オーバーロード 2/3)
GraphicsPath::AddBezier

GraphicsPath::AddBezier メソッドは、このパスの現在の図形にベジエ スプラインを追加します。
GraphicsPath::AddBezier

GraphicsPath::AddBezier メソッドは、このパスの現在の図形に B zier スプラインを追加します。 (オーバーロード 3/3)
GraphicsPath::AddBezier

GraphicsPath::AddBezier メソッドは、このパスの現在の図形に B zier スプラインを追加します。 (オーバーロード 1/3)
GraphicsPath::AddBeziers

GraphicsPath::AddBeziers メソッドは、接続された B zier スプラインのシーケンスを、このパスの現在の図に追加します。
GraphicsPath::AddBeziers

GraphicsPath::AddBeziers メソッドは、接続されたベジエ スプラインのシーケンスを、このパスの現在の図に追加します。
GraphicsPath::AddClosedCurve

GraphicsPath::AddClosedCurve メソッドは、閉じたカーディナル スプラインをこのパスに追加します。 (オーバーロード 2/4)
GraphicsPath::AddClosedCurve

GraphicsPath::AddClosedCurve メソッドは、閉じたカーディナル スプラインをこのパスに追加します。 (オーバーロード 4/4)
GraphicsPath::AddClosedCurve

GraphicsPath::AddClosedCurve メソッドは、閉じたカーディナル スプラインをこのパスに追加します。 (オーバーロード 1/4)
GraphicsPath::AddClosedCurve

GraphicsPath::AddClosedCurve メソッドは、閉じたカーディナル スプラインをこのパスに追加します。 (オーバーロード 3/4)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 5/6)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 6/6)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 3/6)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 2/6)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 1/6)
GraphicsPath::AddCurve

GraphicsPath::AddCurve メソッドは、このパスの現在の図形にカーディナル スプラインを追加します。 (オーバーロード 4/6)
GraphicsPath::AddEllipse

GraphicsPath::AddEllipse メソッドは、このパスに省略記号を追加します。 (オーバーロード 4/4)
GraphicsPath::AddEllipse

GraphicsPath::AddEllipse メソッドは、このパスに省略記号を追加します。 (オーバーロード 2/4)
GraphicsPath::AddEllipse

GraphicsPath::AddEllipse メソッドは、このパスに省略記号を追加します。 (オーバーロード 3/4)
GraphicsPath::AddEllipse

GraphicsPath::AddEllipse メソッドは、このパスに省略記号を追加します。 (オーバーロード 1/4)
GraphicsPath::AddLine

GraphicsPath::AddLine メソッドは、このパスの現在の図に行を追加します。 (オーバーロード 2/4)
GraphicsPath::AddLine

GraphicsPath::AddLine メソッドは、このパスの現在の図に行を追加します。 (オーバーロード 4/4)
GraphicsPath::AddLine

GraphicsPath::AddLine メソッドは、このパスの現在の図に行を追加します。 (オーバーロード 3/4)
GraphicsPath::AddLine

GraphicsPath::AddLine メソッドは、このパスの現在の図に行を追加します。 (オーバーロード 1/4)
GraphicsPath::AddLines

GraphicsPath::AddLines メソッドは、このパスの現在の図形に接続された行のシーケンスを追加します。 (オーバーロード 2/2)
GraphicsPath::AddLines

GraphicsPath::AddLines メソッドは、このパスの現在の図形に接続された行のシーケンスを追加します。 (オーバーロード 1/2)
GraphicsPath::AddPath

GraphicsPath::AddPath メソッドは、このパスにパスを追加します。
GraphicsPath::AddPie

GraphicsPath::AddPie メソッドは、このパスに円を追加します。 (オーバーロード 1/4)
GraphicsPath::AddPie

GraphicsPath::AddPie メソッドは、このパスに円を追加します。 (オーバーロード 4/4)
GraphicsPath::AddPie

GraphicsPath::AddPie メソッドは、このパスに円を追加します。 (オーバーロード 3/4)
GraphicsPath::AddPie

GraphicsPath::AddPie メソッドは、このパスに円を追加します。 (オーバーロード 2/4)
GraphicsPath::AddPolygon

GraphicsPath::AddPolygon メソッドは、このパスに多角形を追加します。 (オーバーロード 2/2)
GraphicsPath::AddPolygon

GraphicsPath::AddPolygon メソッドは、このパスに多角形を追加します。 (オーバーロード 1/2)
GraphicsPath::AddRectangle

GraphicsPath::AddRectangle メソッドは、このパスに四角形を追加します。 (オーバーロード 1/2)
GraphicsPath::AddRectangle

GraphicsPath::AddRectangle メソッドは、このパスに四角形を追加します。 (オーバーロード 2/2)
GraphicsPath::AddRectangles

GraphicsPath::AddRectangles メソッドは、このパスに四角形のシーケンスを追加します
GraphicsPath::AddRectangles

GraphicsPath::AddRectangles メソッドは、このパスに四角形のシーケンスを追加します。
GraphicsPath::AddString

GraphicsPath::AddString メソッドは、文字列のアウトラインをこのパスに追加します。
GraphicsPath::AddString

GraphicsPath::AddString メソッドは、文字列のアウトラインをこのパスに追加します。 (オーバーロード 1/3)
GraphicsPath::AddString

GraphicsPath::AddString メソッドは、文字列のアウトラインをこのパスに追加します。 (オーバーロード 3/3)
GraphicsPath::AddString

GraphicsPath::AddString メソッドは、文字列のアウトラインをこのパスに追加します。 (オーバーロード 2/3)
GraphicsPath::ClearMarkers

GraphicsPath::ClearMarkers メソッドは、このパスからマーカーをクリアします。
GraphicsPath::Clone

GraphicsPath::Clone メソッドは、新しい GraphicsPath オブジェクトを作成し、この GraphicsPath オブジェクトの内容を使用して初期化します。
GraphicsPath::CloseAllFigures

GraphicsPath::CloseAllFigures メソッドは、このパス内のすべての開いている図形を閉じます。
GraphicsPath::CloseFigure

GraphicsPath::CloseFigure メソッドは、このパスの現在の図を閉じます。
GraphicsPath::Flatten

GraphicsPath::Flatten メソッドは、このパスに変換を適用し、パス内の各曲線を一連の接続された線に変換します。
GraphicsPath::GetBounds

GraphicsPath::GetBounds メソッドは、このパスの外接する四角形を取得します。 (オーバーロード 1/2)
GraphicsPath::GetBounds

GraphicsPath::GetBounds メソッドは、このパスの外接する四角形を取得します。 (オーバーロード 2/2)
GraphicsPath::GetFillMode

GraphicsPath::GetFillMode メソッドは、このパスの塗りつぶしモードを取得します。
GraphicsPath::GetLastPoint

GraphicsPath::GetLastPoint メソッドは、このパスの最後の図の終了点を取得します。
GraphicsPath::GetLastStatus

GraphicsPath::GetLastStatus メソッドは、この GraphicsPath オブジェクトの最新のメソッド エラーの性質を示す値を返します。
GraphicsPath::GetPathData

GraphicsPath::GetPathData メソッドは、このパスからポイントの配列とポイント型の配列を取得します。 これら 2 つの配列を組み合わせて、このパスの線、曲線、図形、マーカーを定義します。
GraphicsPath::GetPathPoints

GraphicsPath::GetPathPoints メソッドは、このパスのポイントの配列を取得します。 配列には、パスの描画に使用される線と B zier スプラインの端点とコントロール ポイントが含まれています。
GraphicsPath::GetPathPoints

GraphicsPath::GetPathPoints メソッドは、このパスのポイントの配列を取得します。
GraphicsPath::GetPathTypes

GraphicsPath::GetPathTypes メソッドは、このパスのポイント型の配列を取得します。
GraphicsPath::GetPointCount

GraphicsPath::GetPointCount メソッドは、このパスのデータ ポイントの配列内のポイント数を取得します。 これは、パスのポイント型の配列内の型の数と同じです。
GraphicsPath::GraphicsPath

このトピックでは、GraphicsPath クラスのコンストラクターの一覧を示します。 クラスの完全な一覧については、「GraphicsPath クラス」を参照してください。 (オーバーロード 2/2)
GraphicsPath::GraphicsPath

ポイントの配列、型の配列、塗りつぶしモードに基づいて GraphicsPath::GraphicsPath オブジェクトを作成します。 (オーバーロード 2/2)
GraphicsPath::GraphicsPath

ポイントの配列、型の配列、塗りつぶしモードに基づいて GraphicsPath::GraphicsPath オブジェクトを作成します。 (オーバーロード 1/2)
GraphicsPath::GraphicsPath

GraphicsPath::GraphicsPath オブジェクトを作成し、塗りつぶしモードを初期化します。 これは既定のコンストラクターです。
GraphicsPath::GraphicsPath

このトピックでは、GraphicsPath クラスのコンストラクターの一覧を示します。 クラスの完全な一覧については、「GraphicsPath クラス」を参照してください。 (オーバーロード 1/2)
GraphicsPath::IsOutlineVisible

GraphicsPath::IsOutlineVisible メソッドは、指定した Graphics オブジェクトと指定したペンでパスを描画するときに、指定したポイントがこのパスの輪郭に触れるかどうかを決定します。
GraphicsPath::IsOutlineVisible

GraphicsPath::IsOutlineVisible メソッドは、指定したポイントがパスのアウトラインに触れるかどうかを決定します。
GraphicsPath::IsOutlineVisible

GraphicsPath::IsOutlineVisible メソッドは、指定した Graphics オブジェクトと指定したペンでパスを描画するときに、指定したポイントがこのパスの輪郭に触れるかどうかを決定します。 (オーバーロード 1/2)
GraphicsPath::IsOutlineVisible

GraphicsPath::IsOutlineVisible メソッドは、指定した Graphics オブジェクトと指定したペンによってパスが描画されるときに、指定したポイントがこのパスのアウトラインに接触するかどうかを決定します。 (オーバーロード 2/2)
GraphicsPath::IsVisible

GraphicsPath::IsVisible メソッドは、このパスが指定された Graphics オブジェクトによって塗りつぶされたときに塗りつぶされた領域に指定されたポイントがあるかどうかを決定します。 (オーバーロード 1/2)
GraphicsPath::IsVisible

GraphicsPath::IsVisible メソッドは、指定した点が領域内にあるかどうかを判断します。
GraphicsPath::IsVisible

GraphicsPath::IsVisible メソッドは、指定した Graphics オブジェクトによってこのパスが塗りつぶされたときに、指定したポイントが塗りつぶされた領域にあるかどうかを判断します。
GraphicsPath::IsVisible

GraphicsPath::IsVisible メソッドは、このパスが指定された Graphics オブジェクトによって塗りつぶされたときに塗りつぶされた領域に指定されたポイントがあるかどうかを決定します。 (オーバーロード 2/2)
GraphicsPath::Outline

GraphicsPath::Outline メソッドは、このパスを変換してフラット化し、パスのアウトラインのみを表すこのパスのデータ ポイントを変換します。
GraphicsPath::Reset

GraphicsPath::Reset メソッドはパスを空にし、塗りつぶしモードを FillModeAlternate に設定します。
GraphicsPath::Reverse

GraphicsPath::Reverse メソッドは、このパスの線と曲線を定義するポイントの順序を反転します。
GraphicsPath::SetFillMode

GraphicsPath::SetFillMode メソッドは、このパスの塗りつぶしモードを設定します。
GraphicsPath::SetMarker

GraphicsPath::SetMarker メソッドは、このパスの最後のポイントをマーカー ポイントとして指定します。
GraphicsPath::StartFigure

GraphicsPath::StartFigure メソッドは、現在の図形を閉じずに新しい図形を開始します。 このパスに追加された後続のポイントは、新しい図に追加されます。
GraphicsPath::Transform

GraphicsPath::Transform メソッドは、このパスの各データ ポイントに指定した行列を乗算します。
GraphicsPath::Warp

GraphicsPath::Warp メソッドは、このパスにワープ変換を適用します。 GraphicsPath::Warp メソッドは、パスをフラット化 (直線のシーケンスに変換) します。
GraphicsPath::Widen

GraphicsPath::Widen メソッドは、このパスを、指定したペンで描画するときに塗りつぶされる領域を囲む曲線に置き換えます。 GraphicsPath::Widen メソッドはパスもフラット化します。

注釈

パスは、1 つ以上の図形で構成されます。 パスに線と曲線を追加すると、それらの線と曲線が図の一部になります。 GraphicsPath::StartFigure メソッドを呼び出すことで、新しい図形を開始できます。 パスを描画すると、個々の図形内の線と曲線が直線で接続されます。1 つの線または曲線の終点は、次の線または曲線の始点に接続されます。 1 つの図形の終点と次の図の開始の間に接続線は描画されません。

図形は開いたり閉じたりすることができます。 図を閉じるには、 GraphicsPath::CloseFigure メソッドを呼び出します。 GraphicsPath::CloseFigure を呼び出すと、パスに追加する次の行、曲線、または図形が次の図の一部になります。 パスを描画すると、閉じた各図形の終了点がその図形の始点に自動的に接続されます。

一部の図形 (四角形や楕円など) は本質的に閉じられます。 本質的に閉じた図形をパスに追加すると、その図形は図形自体に含まれており、 GraphicsPath::CloseFigure を呼び出さない場合でも、その図形は閉じていると見なされます。 次のメソッドは、本質的に閉じた図形をパスに追加します。

要件

要件
対象プラットフォーム Windows
ヘッダー gdipluspath.h