[]
ID2D1ImageBrush
[Guid("fe9e984d-3f95-407c-b5db-cb94d4e8f87c")]
public class ImageBrush : Brush, IDisposable, IUnknown
Initializes a new instance of the ImageBrush class.
public ImageBrush(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the ImageBrush class.
public static ImageBrush Create(DeviceContext context, Image image, ImageBrushProperties imageBrushProperties, BrushProperties brushProperties)
context
DeviceContextThe context.
image
ImageThe image.
imageBrushProperties
ImageBrushPropertiesThe image brush properties.
brushProperties
BrushPropertiesThe brush properties.
Initializes a new instance of the ImageBrush class.
public static ImageBrush Create(DeviceContext context, Image image, ImageBrushProperties imageBrushProperties)
context
DeviceContextThe context.
image
ImageThe image.
imageBrushProperties
ImageBrushPropertiesThe image brush properties.
D2D1_EXTEND_MODE ID2D1ImageBrush::GetExtendModeX()
public ExtendMode GetExtendModeX()
D2D1_EXTEND_MODE ID2D1ImageBrush::GetExtendModeY()
public ExtendMode GetExtendModeY()
void ID2D1ImageBrush::GetImage([Out] ID2D1Image** image)
public Image GetImage()
D2D1_INTERPOLATION_MODE ID2D1ImageBrush::GetInterpolationMode()
public InterpolationMode GetInterpolationMode()
void ID2D1ImageBrush::GetSourceRectangle([Out] D2D_RECT_F* sourceRectangle)
public RectF GetSourceRectangle()
void ID2D1ImageBrush::SetExtendModeX([In] D2D1_EXTEND_MODE extendModeX)
public void SetExtendModeX(ExtendMode extendModeX)
extendModeX
ExtendModevoid ID2D1ImageBrush::SetExtendModeY([In] D2D1_EXTEND_MODE extendModeY)
public void SetExtendModeY(ExtendMode extendModeY)
extendModeY
ExtendModevoid ID2D1ImageBrush::SetImage([In, Optional] ID2D1Image* image)
public void SetImage(Image image)
image
Imagevoid ID2D1ImageBrush::SetInterpolationMode([In] D2D1_INTERPOLATION_MODE interpolationMode)
public void SetInterpolationMode(InterpolationMode interpolationMode)
interpolationMode
InterpolationModevoid ID2D1ImageBrush::SetSourceRectangle([In] const D2D_RECT_F* sourceRectangle)
public void SetSourceRectangle(RectF sourceRectangle)
sourceRectangle
RectFPerforms an explicit conversion from System.IntPtr to ImageBrush.
public static explicit operator ImageBrush(IntPtr nativePointer)
nativePointer
System.IntPtr