Table of Contents

Interface IImageBrush

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Represents a brush based on an IDeviceImage.
ID2D1ImageBrush

public interface IImageBrush : IDeviceBrush, IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
Inherited Members
Extension Methods

Properties

ExtendModeX

Gets or sets the extend mode of the image brush on the x-axis.

ExtendModeY

Gets or sets the extend mode of the image brush on the y-axis of the image.

InterpolationMode

Gets or sets the interpolation mode of the image brush.

SourceRectangle

Gets or sets the rectangle that will be used as the bounds of the image when drawn as an image brush.

Methods

GetImage()

Gets the image associated with the image brush.

SetImage(IDeviceImage)

Sets the image associated with the provided image brush.