ID2D1LinearGradientBrush::GetEndPoint method

Retrieves the ending coordinates of the linear gradient.

Syntax

D2D1_POINT_2F GetEndPoint(

);

Parameters

This method has no parameters.

Return Value

Type: D2D1_POINT_2F

The ending two-dimensional coordinates of the linear gradient, in the brush's coordinate space.

Remarks

The start point and end point are described in the brush's space and are mapped to the render target when the brush is used. If there is a non-identity brush transform or render target transform, the brush's start point and end point are also transformed.

Requirements

   
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 d2d1.h
Library D2d1.lib
DLL D2d1.dll

See Also

ID2D1LinearGradientBrush