Visual.CenterPoint 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
就是旋轉或縮放發生的點。 可複製
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
屬性值
就是旋轉或縮放發生的點。
備註
CenterPoint 是相對於 AnchorPoint 屬性中指定的偏移量。
這個屬性可以被動畫化。 呼叫 CompositionObject.StartAnimation 來關聯它到 CompositionAnimation。