KeyTime 结构

定义

指定动画播放期间特定关键帧应在何时出现。

public value class KeyTime
public struct KeyTime
[System.Security.SecurityCritical]
public struct KeyTime
type KeyTime = struct
[<System.Security.SecurityCritical>]
type KeyTime = struct
Public Structure KeyTime
继承
KeyTime
属性

注解

此结构表示Windows 运行时 (WinRT) KeyTime 结构的 .NET 投影。 有关详细信息,请参阅 UWP API 参考中的 KeyTime

属性

TimeSpan

获取关键帧结束时间,该时间表示为相对于动画开始时间的时间。

方法

Equals(KeyTime)

指示指定的 KeyTime 是否等于此 KeyTime

Equals(KeyTime, KeyTime)

指示两个 KeyTime 值是否相等。

Equals(Object)

指示 KeyTime 是否等于此 KeyTime

FromTimeSpan(TimeSpan)

使用提供的 TimeSpan 创建新的 KeyTime

GetHashCode()

返回表示此 KeyTime 的哈希代码。

ToString()

返回此 KeyTime 的字符串表示形式。

运算符

Equality(KeyTime, KeyTime)

比较两个 KeyTime 值以判断是否相等。

Implicit(TimeSpan to KeyTime)

隐式将 TimeSpan 转换为 KeyTime

Inequality(KeyTime, KeyTime)

比较两个 KeyTime 值以判断是否不相等。

适用于

另请参阅