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

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

パラメータ

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

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