Dela via


Compositor.CreateGeometricClip Method

Definition

Overloads

CreateGeometricClip()

Creates an instance of CompositionGeometricClip.

CreateGeometricClip(CompositionGeometry)

Creates an instance of CompositionGeometricClip using the specified geometry.

CreateGeometricClip()

Creates an instance of CompositionGeometricClip.

public:
 virtual CompositionGeometricClip ^ CreateGeometricClip() = CreateGeometricClip;
/// [Windows.Foundation.Metadata.Overload("CreateGeometricClip")]
CompositionGeometricClip CreateGeometricClip();
[Windows.Foundation.Metadata.Overload("CreateGeometricClip")]
public CompositionGeometricClip CreateGeometricClip();
function createGeometricClip()
Public Function CreateGeometricClip () As CompositionGeometricClip

Returns

The created CompositionGeometricClip object.

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to

CreateGeometricClip(CompositionGeometry)

Creates an instance of CompositionGeometricClip using the specified geometry.

public:
 virtual CompositionGeometricClip ^ CreateGeometricClip(CompositionGeometry ^ geometry) = CreateGeometricClip;
/// [Windows.Foundation.Metadata.Overload("CreateGeometricClipWithGeometry")]
CompositionGeometricClip CreateGeometricClip(CompositionGeometry const& geometry);
[Windows.Foundation.Metadata.Overload("CreateGeometricClipWithGeometry")]
public CompositionGeometricClip CreateGeometricClip(CompositionGeometry geometry);
function createGeometricClip(geometry)
Public Function CreateGeometricClip (geometry As CompositionGeometry) As CompositionGeometricClip

Parameters

geometry
CompositionGeometry

The geometry that defines the shape of the clip.

Returns

The created CompositionGeometricClip object.

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to