DrawingContext.DrawImage 메서드

정의

지정된 Rect영역에 이미지를 그립니다.

오버로드

Name Description
DrawImage(ImageSource, Rect)

지정된 Rect영역에 이미지를 그립니다.

DrawImage(ImageSource, Rect, AnimationClock)

지정된 영역에 이미지를 그리고 지정된 Rect 애니메이션 클록을 적용합니다.

DrawImage(ImageSource, Rect)

지정된 Rect영역에 이미지를 그립니다.

public:
 abstract void DrawImage(System::Windows::Media::ImageSource ^ imageSource, System::Windows::Rect rectangle);
public abstract void DrawImage(System.Windows.Media.ImageSource imageSource, System.Windows.Rect rectangle);
abstract member DrawImage : System.Windows.Media.ImageSource * System.Windows.Rect -> unit
Public MustOverride Sub DrawImage (imageSource As ImageSource, rectangle As Rect)

매개 변수

imageSource
ImageSource

그릴 이미지입니다.

rectangle
Rect

그릴 bitmapSource지역입니다.

적용 대상

DrawImage(ImageSource, Rect, AnimationClock)

지정된 영역에 이미지를 그리고 지정된 Rect 애니메이션 클록을 적용합니다.

public:
 abstract void DrawImage(System::Windows::Media::ImageSource ^ imageSource, System::Windows::Rect rectangle, System::Windows::Media::Animation::AnimationClock ^ rectangleAnimations);
public abstract void DrawImage(System.Windows.Media.ImageSource imageSource, System.Windows.Rect rectangle, System.Windows.Media.Animation.AnimationClock rectangleAnimations);
abstract member DrawImage : System.Windows.Media.ImageSource * System.Windows.Rect * System.Windows.Media.Animation.AnimationClock -> unit
Public MustOverride Sub DrawImage (imageSource As ImageSource, rectangle As Rect, rectangleAnimations As AnimationClock)

매개 변수

imageSource
ImageSource

그릴 이미지입니다.

rectangle
Rect

그릴 bitmapSource지역입니다.

rectangleAnimations
AnimationClock

사각형의 크기와 크기에 애니메이션 효과를 주거나 null 애니메이션이 없는 시계입니다. 이 클록은 개체에 애니메이션을 적용 AnimationTimeline 할 수 있는 Rect 시계에서 만들어야 합니다.

적용 대상