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

描画するSystem.Drawing.Graphicsオブジェクト。
System.Drawing.Brushオブジェクトは背景のブラシを示します。
int値は矩形の左側を示します。
int値は矩形の上側を示します。
int値は矩形の幅を示します。
int値は矩形の高さを示します。
矩形を塗りつぶします。
構文
Protected Overloads Sub FillRectangle( _
   ByVal graphics As Graphics, _
   ByVal brush As Brush, _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
) 
protected void FillRectangle( 
   Graphics graphics,
   Brush brush,
   int left,
   int top,
   int width,
   int height
)

パラメータ

graphics
描画するSystem.Drawing.Graphicsオブジェクト。
brush
System.Drawing.Brushオブジェクトは背景のブラシを示します。
left
int値は矩形の左側を示します。
top
int値は矩形の上側を示します。
width
int値は矩形の幅を示します。
height
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

参照

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

Send Feedback