PowerTools PlusPak for Windows Forms 8.0J
DrawLine(Graphics,Pen,Int32,Int32,Int32,Int32) メソッド

描画するSystem.Drawing.Graphicsオブジェクト。
System.Drawing.Penオブジェクトは線のペンを示します。
int値は最初のポイントのX座標を示します。
int値は最初のポイントのY座標を示します。
int値は2番目のポイントのX座標を示します。
int値は2番目のポイントのY座標を示します。
線を描画します。
構文
Protected Overloads Sub DrawLine( _
   ByVal graphics As Graphics, _
   ByVal pen As Pen, _
   ByVal x1 As Integer, _
   ByVal y1 As Integer, _
   ByVal x2 As Integer, _
   ByVal y2 As Integer _
) 
protected void DrawLine( 
   Graphics graphics,
   Pen pen,
   int x1,
   int y1,
   int x2,
   int y2
)

パラメータ

graphics
描画するSystem.Drawing.Graphicsオブジェクト。
pen
System.Drawing.Penオブジェクトは線のペンを示します。
x1
int値は最初のポイントのX座標を示します。
y1
int値は最初のポイントのY座標を示します。
x2
int値は2番目のポイントのX座標を示します。
y2
int値は2番目のポイントのY座標を示します。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

GraphicsRenderer クラス
GraphicsRenderer メンバ
オーバーロード一覧

Send Feedback