Delen via


Compositor.CreatePathGeometry Method

Definition

Overloads

CreatePathGeometry()

Creates an instance of CompositionPathGeometry.

CreatePathGeometry(CompositionPath)

Creates an instance of CompositionPathGeometry using the specified path.

CreatePathGeometry()

Creates an instance of CompositionPathGeometry.

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

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.

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

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