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 변수는 항상 배경에 표시되도록 비활성화된 이미지의 채우기 색을 계산하는 데 사용됩니다.

적용 대상

추가 정보