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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- GraphicsPath.AddEllipseのページへのリンク