ControlPaint.DrawImageDisabled(Graphics, Image, Int32, Int32, Color) メソッド

定義

指定したイメージを無効状態で描画します。

public:
 static void DrawImageDisabled(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, int x, int y, System::Drawing::Color background);
public static void DrawImageDisabled (System.Drawing.Graphics graphics, System.Drawing.Image image, int x, int y, System.Drawing.Color background);
static member DrawImageDisabled : System.Drawing.Graphics * System.Drawing.Image * int * int * System.Drawing.Color -> unit
Public Shared Sub DrawImageDisabled (graphics As Graphics, image As Image, x As Integer, y As Integer, background As Color)

パラメーター

graphics
Graphics

描画する Graphics

image
Image

描画する Image

x
Int32

輪郭のイメージ左上の x 座標。

y
Int32

輪郭のイメージ左上の y 座標。

background
Color

イメージの背景の Color

注釈

この background パラメーターは、無効なイメージの塗りつぶしの色を計算するために使用され、常に背景に対して表示されます。

適用対象

こちらもご覧ください