共用方式為


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

線性漸層的起始二維座標。

適用於