Share via


CompositionClip.CenterPoint 属性

定义

发生旋转或缩放的点。

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

void CenterPoint(float2 value);
public Vector2 CenterPoint { get; set; }
var vector2 = compositionClip.centerPoint;
compositionClip.centerPoint = vector2;
Public Property CenterPoint As Vector2

属性值

Vector2 Vector2

float2

发生旋转或缩放的点。 值以应用剪辑的视觉对象的本地坐标空间内的像素为单位。

默认情况下,剪辑上的 CenterPoint 值为 (0, 0) 。

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于

另请参阅