GrapeCity PlusPak for Windows Forms 10.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値。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.