InsetClip InsetClip InsetClip InsetClip Class

Definition

Clips a portion of a visual. The visible portion of the visual is a rectangle defined as inset values from the edges of the visual. The portion of the visual outside the rectangle is clipped.

InsetClips are defined using offsets from the bottom, left, right and top of the Visual to be clipped in pixels. It is possible to fully clip the entire Visual. Negative values are allowed. InsetClips support all the same transforms as Visuals except the 4x4 matrix. Unlike Visuals, InsetClips are 2D and are defined, instead, with a 3x2 matrix. InsetClip properties are fully animatible.

public : sealed class InsetClip : CompositionClip, IInsetClippublic sealed class InsetClip : CompositionClip, IInsetClipPublic NotInheritable Class InsetClip Inherits CompositionClip Implements IInsetClip// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods

Properties

BottomInset BottomInset BottomInset BottomInset

The offset from the bottom of the visual. Animatable. The portion of the visual below the BottomtInset will be clipped.

public : float BottomInset { get; set; }public float BottomInset { get; set; }Public ReadWrite Property BottomInset As float// This API is not available in Javascript.
Value
float float float float

The offset from the bottom of the visual.

Remarks

This property is animatable and can be associated with a KeyFrameAnimation or ExpressionAnimation using CompositionObject::StartAnimation.

LeftInset LeftInset LeftInset LeftInset

The offset from the left of the visual. Animatable. The portion of the visual to the left of the LeftInset will be clipped.

public : float LeftInset { get; set; }public float LeftInset { get; set; }Public ReadWrite Property LeftInset As float// This API is not available in Javascript.
Value
float float float float

The offset from the left of the visual.

Remarks

This property is animatable and can be associated with a KeyFrameAnimation or ExpressionAnimation using CompositionObject::StartAnimation.

RightInset RightInset RightInset RightInset

The offset from the right of the visual. Animatable. The portion of the visual to the right of the RightInset will be clipped.

public : float RightInset { get; set; }public float RightInset { get; set; }Public ReadWrite Property RightInset As float// This API is not available in Javascript.
Value
float float float float

The offset from the right of the visual.

Remarks

This property is animatable and can be associated with a KeyFrameAnimation or ExpressionAnimation using CompositionObject::StartAnimation.

TopInset TopInset TopInset TopInset

The offset from the top of the visual. Animatable. The portion of the visual above the TopInset will be clipped.

public : float TopInset { get; set; }public float TopInset { get; set; }Public ReadWrite Property TopInset As float// This API is not available in Javascript.
Value
float float float float

The offset from the top of the visual.

Remarks

This property is animatable and can be associated with a KeyFrameAnimation or ExpressionAnimation using CompositionObject::StartAnimation.

See Also