CompositionClip.CenterPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The point about which rotation or scaling occurs.
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
Property Value
The point about which rotation or scaling occurs. Value is in pixels within the local coordinate space of the visual on which the clip is applied.
By default, the CenterPoint value on a clip is (0, 0).
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|