Visual.CenterPoint 屬性

定義

就是旋轉或縮放發生的點。 可複製

public:
 property float3 CenterPoint { float3 get(); void set(float3 value); };
float3 CenterPoint();

void CenterPoint(float3 value);
public Vector3 CenterPoint { get; set; }
var vector3 = visual.centerPoint;
visual.centerPoint = vector3;
Public Property CenterPoint As Vector3

屬性值

Vector3 Vector3

float3

就是旋轉或縮放發生的點。

備註

CenterPoint 是相對於 AnchorPoint 屬性中指定的偏移量。

這個屬性可以被動畫化。 呼叫 CompositionObject.StartAnimation 來關聯它到 CompositionAnimation

適用於