CompositionPath 类

定义

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

public ref class CompositionPath sealed : IGeometrySource2D
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Composition.ICompositionPathFactory, 65536, "Microsoft.Foundation.LiftedContract")]
/// [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 CompositionPath final : IGeometrySource2D
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Composition.ICompositionPathFactory, 65536, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
class CompositionPath final : IGeometrySource2D
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Composition.ICompositionPathFactory), 65536, "Microsoft.Foundation.LiftedContract")]
[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 CompositionPath : IGeometrySource2D
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Composition.ICompositionPathFactory), 65536, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public sealed class CompositionPath : IGeometrySource2D
function CompositionPath(source)
Public NotInheritable Class CompositionPath
Implements IGeometrySource2D
继承
Object Platform::Object IInspectable CompositionPath
属性
实现

构造函数

CompositionPath(IGeometrySource2D)

初始化 CompositionPath 类的新实例。

适用于