Dela via


CompositionClip.Offset Property

Definition

The offset of the clip relative to the visual on which the clip is applied.

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

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

Property Value

Vector2 Vector2

float2

The offset of the clip relative to the visual on which the clip is applied. By default, the Offset 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)

Applies to

See also