共用方式為


CD2DLinearGradientBrush::SetStartPoint

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

void SetStartPoint(
   CD2DPointF point
);

Parameters

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

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DLinearGradientBrush Class