LinearGradientBrushProperties function (d2d1helper.h)
Creates a D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES structure.
Syntax
D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES LinearGradientBrushProperties(
[in, ref] const D2D1_POINT_2F & startPoint,
[in, ref] const D2D1_POINT_2F & endPoint
);
Parameters
[in, ref] startPoint
Type: const D2D1_POINT_2F
The start point, in the brush's coordinate space, of the gradient axis.
[in, ref] endPoint
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
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1helper.h |
Library | D2d1.lib |
DLL | D2d1.dll |