CompositionPath 类

定义

表示一系列相互连接的直线和曲线。

public ref class CompositionPath sealed : IGeometrySource2D
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Composition.ICompositionPathFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionPath final : IGeometrySource2D
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Composition.ICompositionPathFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositionPath : IGeometrySource2D
Public NotInheritable Class CompositionPath
Implements IGeometrySource2D
继承
Object Platform::Object IInspectable CompositionPath
属性
实现

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

构造函数

CompositionPath(IGeometrySource2D)

初始化 CompositionPath 类的新实例。

适用于