/// <summary> /// Initializes a new instance of the <see cref="ImageBrush"/> class. /// </summary> /// <param name="context">The context.</param> /// <param name="image">The image.</param> /// <param name="imageBrushProperties">The image brush properties.</param> /// <param name="brushProperties">The brush properties.</param> /// <unmanaged>HRESULT ID2D1DeviceContext::CreateImageBrush([In] ID2D1Image* image,[In] const D2D1_IMAGE_BRUSH_PROPERTIES* imageBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1ImageBrush** imageBrush)</unmanaged> public ImageBrush(DeviceContext context, SharpDX.Direct2D1.Image image, SharpDX.Direct2D1.ImageBrushProperties imageBrushProperties, SharpDX.Direct2D1.BrushProperties brushProperties) : base(IntPtr.Zero) { context.CreateImageBrush(image, ref imageBrushProperties, brushProperties, this); }
/// <summary> /// Initializes a new instance of the <see cref="ImageBrush"/> class. /// </summary> /// <param name="context">The context.</param> /// <param name="image">The image.</param> /// <param name="imageBrushProperties">The image brush properties.</param> /// <param name="brushProperties">The brush properties.</param> /// <unmanaged>HRESULT ID2D1DeviceContext::CreateImageBrush([In] ID2D1Image* image,[In] const D2D1_IMAGE_BRUSH_PROPERTIES* imageBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1ImageBrush** imageBrush)</unmanaged> public ImageBrush(DeviceContext context, SharpDX.Direct2D1.Image image, SharpDX.Direct2D1.ImageBrushProperties imageBrushProperties, SharpDX.Direct2D1.BrushProperties brushProperties) : base(IntPtr.Zero) { context.CreateImageBrush(image, ref imageBrushProperties, brushProperties, this); }