ID2D1GradientMesh interface

Represents a device-dependent representation of a gradient mesh composed of patches. Use the ID2D1DeviceContext2::CreateGradientMesh method to create an instance of ID2D1GradientMesh.

Members

The ID2D1GradientMesh interface inherits from ID2D1Resource. ID2D1GradientMesh also has these types of members:

Methods

The ID2D1GradientMesh interface has these methods.

MethodDescription
GetPatchCount

Returns the number of patches that make up this gradient mesh.

GetPatches

Returns a subset of the patches that make up this gradient mesh.

 

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_3.h

Library

D2d1.lib

See also

ID2D1Resource

 

 

Show: