GrapeCity PlusPak for Windows Forms 10.0J
DrawRectangle(Pen,Single,Single,Single,Single) メソッド

幅と高さの座標の組み合わせで指定された矩形を描画します。
描画する矩形の左上端のx座標。
描画する矩形の左上端のy座標。
描画する矩形の幅。
描画する矩形の高さ。
幅と高さの座標の組み合わせで指定された矩形を描画します。
シンタックス
Public Overloads Sub DrawRectangle( _
   ByVal pen As Pen, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
) 
public void DrawRectangle( 
   Pen pen,
   float x,
   float y,
   float width,
   float height
)

パラメータ

pen
幅と高さの座標の組み合わせで指定された矩形を描画します。
x
描画する矩形の左上端のx座標。
y
描画する矩形の左上端のy座標。
width
描画する矩形の幅。
height
描画する矩形の高さ。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.