CompositionLinearGradientBrush.StartPoint 属性

定义

获取或设置线性渐变的二维起始坐标。

public:
 property float2 StartPoint { float2 get(); void set(float2 value); };
float2 StartPoint();

void StartPoint(float2 value);
public Vector2 StartPoint { get; set; }
var vector2 = compositionLinearGradientBrush.startPoint;
compositionLinearGradientBrush.startPoint = vector2;
Public Property StartPoint As Vector2

属性值

Vector2 Vector2

float2

线性渐变的二维起始坐标。

适用于