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產生關聯。

適用於