GraphicsPath.AddEllipse メソッド (RectangleF)
アセンブリ: System.Drawing (system.drawing.dll 内)
構文
使用例
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照GraphicsPath.AddEllipse メソッド (Rectangle)
アセンブリ: System.Drawing (system.drawing.dll 内)
構文
使用例次のコード例は、Windows フォームでの使用を意図してデザインされており、OnPaint イベント オブジェクトである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub AddEllipseExample(ByVal e As PaintEventArgs) ' Create a path and add an ellipse. Dim myEllipse As New Rectangle(20, 20, 100, 50) Dim myPath As New GraphicsPath myPath.AddEllipse(myEllipse) ' Draw the path to the screen. Dim myPen As New Pen(Color.Black, 2) e.Graphics.DrawPath(myPen, myPath) End Sub
private void AddEllipseExample(PaintEventArgs e) { // Create a path and add an ellipse. Rectangle myEllipse = new Rectangle(20, 20, 100, 50); GraphicsPath myPath = new GraphicsPath(); myPath.AddEllipse(myEllipse); // Draw the path to the screen. Pen myPen = new Pen(Color.Black, 2); e.Graphics.DrawPath(myPen, myPath); }
private: void AddEllipseExample( PaintEventArgs^ e ) { // Create a path and add an ellipse. Rectangle myEllipse = Rectangle(20,20,100,50); GraphicsPath^ myPath = gcnew GraphicsPath; myPath->AddEllipse( myEllipse ); // Draw the path to the screen. Pen^ myPen = gcnew Pen( Color::Black,2.0f ); e->Graphics->DrawPath( myPen, myPath ); }
private void AddEllipseExample(PaintEventArgs e) { // Create a path and add an ellipse. Rectangle myEllipse = new Rectangle(20, 20, 100, 50); GraphicsPath myPath = new GraphicsPath(); myPath.AddEllipse(myEllipse); // Draw the path to the screen. Pen myPen = new Pen(Color.get_Black(), 2); e.get_Graphics().DrawPath(myPen, myPath); } //AddEllipseExample
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照GraphicsPath.AddEllipse メソッド (Int32, Int32, Int32, Int32)
アセンブリ: System.Drawing (system.drawing.dll 内)
構文Dim instance As GraphicsPath Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer instance.AddEllipse(x, y, width, height)
使用例
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照GraphicsPath.AddEllipse メソッド
オーバーロードの一覧| 名前 | 説明 |
|---|---|
| GraphicsPath.AddEllipse (Rectangle) | 現在のパスに楕円を追加します。 |
| GraphicsPath.AddEllipse (RectangleF) | 現在のパスに楕円を追加します。 |
| GraphicsPath.AddEllipse (Int32, Int32, Int32, Int32) | 現在のパスに楕円を追加します。 |
| GraphicsPath.AddEllipse (Single, Single, Single, Single) | 現在のパスに楕円を追加します。 |
参照GraphicsPath.AddEllipse メソッド (Single, Single, Single, Single)
アセンブリ: System.Drawing (system.drawing.dll 内)
構文Dim instance As GraphicsPath Dim x As Single Dim y As Single Dim width As Single Dim height As Single instance.AddEllipse(x, y, width, height)
使用例
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からGraphicsPath.AddEllipseを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からGraphicsPath.AddEllipse
を検索
- GraphicsPath.AddEllipseのページへのリンク