Visual.CenterPoint 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生旋轉或縮放的點。 可產生動畫效果
public:
property float3 CenterPoint { float3 get(); void set(float3 value); };
float3 CenterPoint();
void CenterPoint(float3 value);
C#
public Vector3 CenterPoint { get; set; }
var vector3 = visual.centerPoint;
visual.centerPoint = vector3;
Public Property CenterPoint As Vector3
發生旋轉或縮放的點。
CenterPoint 相對於 AnchorPoint 屬性中指定的位移。
這個屬性可以產生動畫效果。 呼叫 CompositionObject.StartAnimation 將其與 CompositionAnimation產生關聯。
產品 | 版本 |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |