LinearGradientBrushProperties function

Creates a D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES structure.

Syntax


D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES LinearGradientBrushProperties(
  _In_  const D2D1_POINT_2F &startPoint,
  _In_  const D2D1_POINT_2F &endPoint
);

Parameters

startPoint [in, ref]

Type: const D2D1_POINT_2F

The start point, in the brush's coordinate space, of the gradient axis.

endPoint [in, ref]

Type: const D2D1_POINT_2F

The end point, in the brush's coordinate space, of the gradient axis.

Return value

Type: D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES

A structure that contains the start and end point of the gradient axis for an ID2D1LinearGradientBrush.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

D2d1helper.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft