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

描画するSystem.Drawing.Graphicsオブジェクト。
線のペンを示すSystem.Drawing.Penオブジェクト。
最初のポイントのX座標を示すint値。
最初のポイントのY座標を示すint値。
2番目のポイントのX座標を示すint値。
2番目のポイントのY座標を示すint値。
線を描画します。
構文
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
最初のポイントのX座標を示すint値。
y1
最初のポイントのY座標を示すint値。
x2
2番目のポイントのX座標を示すint値。
y2
2番目のポイントのY座標を示すint値。
プラットフォーム

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

参照

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

Send Feedback