Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetStartPoint method

ID2D1LinearGradientBrush::SetStartPoint method

Sets the starting coordinates of the linear gradient in the brush's coordinate space.

Syntax


virtual void SetStartPoint(
   D2D1_POINT_2F startPoint
) = 0;

Parameters

startPoint

Type: D2D1_POINT_2F

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

Return value

This method does not return a value.

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 | 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

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1LinearGradientBrush

 

 

Community Additions

ADD
Show:
© 2015 Microsoft