Compositor.CreatePathGeometry Method

Definition

Overloads

CreatePathGeometry()

Creates an instance of CompositionPathGeometry.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.CreatePathGeometry.

CreatePathGeometry(CompositionPath)

Creates an instance of CompositionPathGeometry using the specified path.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.CreatePathGeometry.

CreatePathGeometry()

Creates an instance of CompositionPathGeometry.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.CreatePathGeometry.

public:
 virtual CompositionPathGeometry ^ CreatePathGeometry() = CreatePathGeometry;
/// [Windows.Foundation.Metadata.Overload("CreatePathGeometry")]
CompositionPathGeometry CreatePathGeometry();
[Windows.Foundation.Metadata.Overload("CreatePathGeometry")]
public CompositionPathGeometry CreatePathGeometry();
function createPathGeometry()
Public Function CreatePathGeometry () As CompositionPathGeometry

Returns

CompositionPathGeometry

Returns the created CompositionPathGeometry object.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to

CreatePathGeometry(CompositionPath)

Creates an instance of CompositionPathGeometry using the specified path.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.CreatePathGeometry.

public:
 virtual CompositionPathGeometry ^ CreatePathGeometry(CompositionPath ^ path) = CreatePathGeometry;
/// [Windows.Foundation.Metadata.Overload("CreatePathGeometryWithPath")]
CompositionPathGeometry CreatePathGeometry(CompositionPath const& path);
[Windows.Foundation.Metadata.Overload("CreatePathGeometryWithPath")]
public CompositionPathGeometry CreatePathGeometry(CompositionPath path);
function createPathGeometry(path)
Public Function CreatePathGeometry (path As CompositionPath) As CompositionPathGeometry

Parameters

path
CompositionPath

The path data.

Returns

CompositionPathGeometry

Returns the created CompositionPathGeometry object.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to