Share via


CompositionGeometricClip Class

Definition

Represents a shape that clips a portion of a visual. The visible portion of the visual is a shape defined by a CompositionGeometry. The portion of the visual outside the geometry is clipped.

public ref class CompositionGeometricClip sealed : CompositionClip
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionGeometricClip final : CompositionClip
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
class CompositionGeometricClip final : CompositionClip
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositionGeometricClip : CompositionClip
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public sealed class CompositionGeometricClip : CompositionClip
Public NotInheritable Class CompositionGeometricClip
Inherits CompositionClip
Inheritance
Object Platform::Object IInspectable CompositionObject CompositionClip CompositionGeometricClip
Attributes

Remarks

To clip a Visual, you assign the RectangleClip to the Clip property of the Visual.

Properties

AnchorPoint

The point on the clip to be positioned at the clip's offset. Value is normalized with respect to the size of the clip.

(Inherited from CompositionClip)
CenterPoint

The point about which rotation or scaling occurs.

(Inherited from CompositionClip)
Comment

A string to associate with the CompositionObject.

(Inherited from CompositionObject)
Compositor

The Compositor used to create this CompositionObject.

(Inherited from CompositionObject)
DispatcherQueue

Gets the DispatcherQueue for the CompositionObject.

(Inherited from CompositionObject)
Geometry

Gets or sets CompositionGeometry that defines the shape of the clip.

ImplicitAnimations

The collection of implicit animations attached to this object.

(Inherited from CompositionObject)
Offset

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

(Inherited from CompositionClip)
Properties

The collection of properties associated with the CompositionObject.

(Inherited from CompositionObject)
RotationAngle

The angle of rotation applied to the clip, in radians.

(Inherited from CompositionClip)
RotationAngleInDegrees

The angle of rotation applied to the clip, in degrees.

(Inherited from CompositionClip)
Scale

The scale to apply to the clip.

(Inherited from CompositionClip)
TransformMatrix

The 3x2 transformation matrix to apply to the clip.

(Inherited from CompositionClip)
ViewBox

Gets or sets a CompositionViewBox that maps the shape visual tree coordinates onto the visual.

Methods

Close()

Closes the CompositionObject and releases system resources.

(Inherited from CompositionObject)
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from CompositionObject)
PopulatePropertyInfo(String, AnimationPropertyInfo)

Defines a property that can be animated.

(Inherited from CompositionObject)
StartAnimation(String, CompositionAnimation, AnimationController)

Connects an animation with the specified property of the object and starts the animation.

(Inherited from CompositionObject)
StartAnimation(String, CompositionAnimation)

Connects an animation with the specified property of the object and starts the animation.

(Inherited from CompositionObject)
StartAnimationGroup(ICompositionAnimationBase)

Starts an animation group.

The StartAnimationGroup method on CompositionObject lets you start CompositionAnimationGroup. All the animations in the group will be started at the same time on the object.

(Inherited from CompositionObject)
StopAnimation(String)

Disconnects an animation from the specified property and stops the animation.

(Inherited from CompositionObject)
StopAnimationGroup(ICompositionAnimationBase)

Stops an animation group.

(Inherited from CompositionObject)
TryGetAnimationController(String)

Returns an AnimationController for the animation running on the specified property.

(Inherited from CompositionObject)

Applies to

See also