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

Public Sub AddBezier ( _ x1 As Single, _ y1 As Single, _ x2 As Single, _ y2 As Single, _ x3 As Single, _ y3 As Single, _ x4 As Single, _ y4 As Single _ )
Dim instance As GraphicsPath Dim x1 As Single Dim y1 As Single Dim x2 As Single Dim y2 As Single Dim x3 As Single Dim y3 As Single Dim x4 As Single Dim y4 As Single instance.AddBezier(x1, y1, x2, y2, x3, y3, x4, y4)
public void AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 )
public: void AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 )
public void AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 )
public function AddBezier ( x1 : float, y1 : float, x2 : float, y2 : float, x3 : float, y3 : float, x4 : float, y4 : float )



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.AddBezier メソッド (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
アセンブリ: System.Drawing (system.drawing.dll 内)

Public Sub AddBezier ( _ x1 As Integer, _ y1 As Integer, _ x2 As Integer, _ y2 As Integer, _ x3 As Integer, _ y3 As Integer, _ x4 As Integer, _ y4 As Integer _ )
Dim instance As GraphicsPath Dim x1 As Integer Dim y1 As Integer Dim x2 As Integer Dim y2 As Integer Dim x3 As Integer Dim y3 As Integer Dim x4 As Integer Dim y4 As Integer instance.AddBezier(x1, y1, x2, y2, x3, y3, x4, y4)
public function AddBezier ( x1 : int, y1 : int, x2 : int, y2 : int, x3 : int, y3 : int, x4 : int, y4 : int )


次のコード例は、Windows フォームでの使用を意図してデザインされており、OnPaint イベント オブジェクトである PaintEventArgse が必要です。このコードは次のアクションを実行します。
Public Sub AddBezierExample(ByVal e As PaintEventArgs) ' Create a new Path. Dim myPath As New GraphicsPath ' Call AddBezier. myPath.StartFigure() myPath.AddBezier(50, 50, 70, 0, 100, 120, 150, 50) ' Close the curve. myPath.CloseFigure() ' Draw the path to screen. e.Graphics.DrawPath(New Pen(Color.Red, 2), myPath) End Sub
private void AddBezierExample(PaintEventArgs e) { // Create a new Path. GraphicsPath myPath = new GraphicsPath(); // Call AddBezier. myPath.StartFigure(); myPath.AddBezier(50, 50, 70, 0, 100, 120, 150, 50); // Close the curve. myPath.CloseFigure(); // Draw the path to screen. e.Graphics.DrawPath(new Pen(Color.Red, 2), myPath); }
private: void AddBezierExample( PaintEventArgs^ e ) { // Create a new Path. GraphicsPath^ myPath = gcnew GraphicsPath; // Call AddBezier. myPath->StartFigure(); myPath->AddBezier( 50, 50, 70, 0, 100, 120, 150, 50 ); // Close the curve. myPath->CloseFigure(); // Draw the path to screen. e->Graphics->DrawPath( gcnew Pen( Color::Red,2.0f ), myPath ); }
private void AddBezierExample(PaintEventArgs e) { // Create a new Path. GraphicsPath myPath = new GraphicsPath(); // Call AddBezier. myPath.StartFigure(); myPath.AddBezier(50, 50, 70, 0, 100, 120, 150, 50); // Close the curve. myPath.CloseFigure(); // Draw the path to screen. e.get_Graphics().DrawPath(new Pen(Color.get_Red(), 2), myPath); } //AddBezierExample

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.AddBezier メソッド (Point, Point, Point, Point)
アセンブリ: System.Drawing (system.drawing.dll 内)

Dim instance As GraphicsPath Dim pt1 As Point Dim pt2 As Point Dim pt3 As Point Dim pt4 As Point instance.AddBezier(pt1, pt2, pt3, pt4)



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.AddBezier メソッド (PointF, PointF, PointF, PointF)
アセンブリ: System.Drawing (system.drawing.dll 内)

Dim instance As GraphicsPath Dim pt1 As PointF Dim pt2 As PointF Dim pt3 As PointF Dim pt4 As PointF instance.AddBezier(pt1, pt2, pt3, pt4)



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.AddBezier メソッド

名前 | 説明 |
---|---|
GraphicsPath.AddBezier (Point, Point, Point, Point) | 現在の図形に 3 次ベジエ曲線を追加します。 |
GraphicsPath.AddBezier (PointF, PointF, PointF, PointF) | 現在の図形に 3 次ベジエ曲線を追加します。 |
GraphicsPath.AddBezier (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) | 現在の図形に 3 次ベジエ曲線を追加します。 |
GraphicsPath.AddBezier (Single, Single, Single, Single, Single, Single, Single, Single) | 現在の図形に 3 次ベジエ曲線を追加します。 |

Weblioに収録されているすべての辞書からGraphicsPath.AddBezierを検索する場合は、下記のリンクをクリックしてください。

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