Graphics.FillEllipse メソッド (Brush, Int32, Int32, Int32, Int32)
アセンブリ: System.Drawing (system.drawing.dll 内)

Public Sub FillEllipse ( _ brush As Brush, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer _ )
Dim instance As Graphics Dim brush As Brush Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer instance.FillEllipse(brush, x, y, width, height)



次の例は、Windows フォームでの使用を意図してデザインされており、Paint イベント ハンドラのパラメータである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub FillEllipseInt(ByVal e As PaintEventArgs) ' Create solid brush. Dim redBrush As New SolidBrush(Color.Red) ' Create location and size of ellipse. Dim x As Integer = 0 Dim y As Integer = 0 Dim width As Integer = 200 Dim height As Integer = 100 ' Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, x, y, width, height) End Sub
public void FillEllipseInt(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.Red); // Create location and size of ellipse. int x = 0; int y = 0; int width = 200; int height = 100; // Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, x, y, width, height); }
public: void FillEllipseInt( PaintEventArgs^ e ) { // Create solid brush. SolidBrush^ redBrush = gcnew SolidBrush( Color::Red ); // Create location and size of ellipse. int x = 0; int y = 0; int width = 200; int height = 100; // Fill ellipse on screen. e->Graphics->FillEllipse( redBrush, x, y, width, height ); }
public void FillEllipseInt(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.get_Red()); // Create location and size of ellipse. int x = 0; int y = 0; int width = 200; int height = 100; // Fill ellipse on screen. e.get_Graphics().FillEllipse(redBrush, x, y, width, height); } //FillEllipseInt

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


Graphics.FillEllipse メソッド (Brush, Single, Single, Single, Single)
アセンブリ: System.Drawing (system.drawing.dll 内)

Public Sub FillEllipse ( _ brush As Brush, _ x As Single, _ y As Single, _ width As Single, _ height As Single _ )
Dim instance As Graphics Dim brush As Brush Dim x As Single Dim y As Single Dim width As Single Dim height As Single instance.FillEllipse(brush, x, y, width, height)



次の例は、Windows フォームでの使用を意図してデザインされており、Paint イベント ハンドラのパラメータである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub FillEllipseFloat(ByVal e As PaintEventArgs) ' Create solid brush. Dim redBrush As New SolidBrush(Color.Red) ' Create location and size of ellipse. Dim x As Single = 0.0F Dim y As Single = 0.0F Dim width As Single = 200.0F Dim height As Single = 100.0F ' Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, x, y, width, height) End Sub
public void FillEllipseFloat(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.Red); // Create location and size of ellipse. float x = 0.0F; float y = 0.0F; float width = 200.0F; float height = 100.0F; // Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, x, y, width, height); }
public: void FillEllipseFloat( PaintEventArgs^ e ) { // Create solid brush. SolidBrush^ redBrush = gcnew SolidBrush( Color::Red ); // Create location and size of ellipse. float x = 0.0F; float y = 0.0F; float width = 200.0F; float height = 100.0F; // Fill ellipse on screen. e->Graphics->FillEllipse( redBrush, x, y, width, height ); }
public void FillEllipseFloat(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.get_Red()); // Create location and size of ellipse. float x = 0; float y = 0; float width = 200; float height = 100; // Fill ellipse on screen. e.get_Graphics().FillEllipse(redBrush, x, y, width, height); } //FillEllipseFloat

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


Graphics.FillEllipse メソッド (Brush, RectangleF)
アセンブリ: System.Drawing (system.drawing.dll 内)

Dim instance As Graphics Dim brush As Brush Dim rect As RectangleF instance.FillEllipse(brush, rect)



次の例は、Windows フォームでの使用を意図してデザインされており、Paint イベント ハンドラのパラメータである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub FillEllipseRectangleF(ByVal e As PaintEventArgs) ' Create solid brush. Dim redBrush As New SolidBrush(Color.Red) ' Create rectangle for ellipse. Dim x As Single = 0.0F Dim y As Single = 0.0F Dim width As Single = 200.0F Dim height As Single = 100.0F Dim rect As New RectangleF(x, y, width, height) ' Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, rect) End Sub
public void FillEllipseRectangleF(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.Red); // Create rectangle for ellipse. float x = 0.0F; float y = 0.0F; float width = 200.0F; float height = 100.0F; RectangleF rect = new RectangleF(x, y, width, height); // Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, rect); }
public: void FillEllipseRectangleF( PaintEventArgs^ e ) { // Create solid brush. SolidBrush^ redBrush = gcnew SolidBrush( Color::Red ); // Create rectangle for ellipse. float x = 0.0F; float y = 0.0F; float width = 200.0F; float height = 100.0F; RectangleF rect = RectangleF(x,y,width,height); // Fill ellipse on screen. e->Graphics->FillEllipse( redBrush, rect ); }
public void FillEllipseRectangleF(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.get_Red()); // Create rectangle for ellipse. float x = 0; float y = 0; float width = 200; float height = 100; RectangleF rect = new RectangleF(x, y, width, height); // Fill ellipse on screen. e.get_Graphics().FillEllipse(redBrush, rect); } //FillEllipseRectangleF

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


Graphics.FillEllipse メソッド (Brush, Rectangle)
アセンブリ: System.Drawing (system.drawing.dll 内)




次の例は、Windows フォームでの使用を意図してデザインされており、Paint イベント ハンドラのパラメータである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub FillEllipseRectangle(ByVal e As PaintEventArgs) ' Create solid brush. Dim redBrush As New SolidBrush(Color.Red) ' Create rectangle for ellipse. Dim x As Integer = 0 Dim y As Integer = 0 Dim width As Integer = 200 Dim height As Integer = 100 Dim rect As New Rectangle(x, y, width, height) ' Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, rect) End Sub
public void FillEllipseRectangle(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.Red); // Create rectangle for ellipse. int x = 0; int y = 0; int width = 200; int height = 100; Rectangle rect = new Rectangle(x, y, width, height); // Fill ellipse on screen. e.Graphics.FillEllipse(redBrush, rect); }
public: void FillEllipseRectangle( PaintEventArgs^ e ) { // Create solid brush. SolidBrush^ redBrush = gcnew SolidBrush( Color::Red ); // Create rectangle for ellipse. int x = 0; int y = 0; int width = 200; int height = 100; Rectangle rect = Rectangle(x,y,width,height); // Fill ellipse on screen. e->Graphics->FillEllipse( redBrush, rect ); }
public void FillEllipseRectangle(PaintEventArgs e) { // Create solid brush. SolidBrush redBrush = new SolidBrush(Color.get_Red()); // Create rectangle for ellipse. int x = 0; int y = 0; int width = 200; int height = 100; Rectangle rect = new Rectangle(x, y, width, height); // Fill ellipse on screen. e.get_Graphics().FillEllipse(redBrush, rect); } //FillEllipseRectangle

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Graphics.FillEllipse メソッド

名前 | 説明 |
---|---|
Graphics.FillEllipse (Brush, Rectangle) | Rectangle 構造体で指定された外接する四角形によって定義される楕円の内部を塗りつぶします。 .NET Compact Framework によってサポートされています。 |
Graphics.FillEllipse (Brush, RectangleF) | RectangleF 構造体で指定された外接する四角形によって定義される楕円の内部を塗りつぶします。 |
Graphics.FillEllipse (Brush, Int32, Int32, Int32, Int32) | 座標ペア、高さ、および幅で指定された外接する四角形によって定義される楕円を描画します。 .NET Compact Framework によってサポートされています。 |
Graphics.FillEllipse (Brush, Single, Single, Single, Single) | 座標ペア、高さ、および幅で指定された外接する四角形によって定義される楕円を描画します。 |

- Graphics.FillEllipse メソッドのページへのリンク