ID2D1ImageBrush interface

Represents a brush based on an ID2D1Image.

When to implement

Custom implementations are not supported.

Members

The ID2D1ImageBrush interface inherits from ID2D1Brush. ID2D1ImageBrush also has these types of members:

Methods

The ID2D1ImageBrush interface has these methods.

MethodDescription
GetExtendModeX

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

GetExtendModeY

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

GetImage

Gets the image associated with the image brush.

GetInterpolationMode

Gets the interpolation mode of the image brush.

GetSourceRectangle

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

SetExtendModeX

Sets how the content inside the source rectangle in the image brush will be extended on the x-axis.

SetExtendModeY

Sets the extend mode on the y-axis.

SetImage

Sets the image associated with the provided image brush.

SetInterpolationMode

Sets the interpolation mode for the image brush.

SetSourceRectangle

Sets the source rectangle in the image brush.

 

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Brush

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.