指定した GraphicsPath を使用して、新しい Region を初期化します。
名前空間: System.Drawing
アセンブリ: System.Drawing (system.drawing.dll 内)
構文
'宣言
Public Sub New ( _
path As GraphicsPath _
)
'使用
Dim path As GraphicsPath
Dim instance As New Region(path)
public Region (
GraphicsPath path
)
public:
Region (
GraphicsPath^ path
)
public Region (
GraphicsPath path
)
public function Region (
path : GraphicsPath
)
パラメータ
- path
新しい Region を定義する GraphicsPath。
例外
例外の種類 | 条件 |
---|---|
path が null 参照 (Visual Basic では Nothing) です。 |
解説
このメソッドは、GraphicsPath を使用して、新しい Region を作成します。新しい領域は、path パラメータで指定された GraphicsPath の内部として定義されます。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0