當前位置: 首頁>>代碼示例>>C#>>正文


C# Animation.KeyTime類代碼示例

本文整理匯總了C#中System.Windows.Media.Animation.KeyTime的典型用法代碼示例。如果您正苦於以下問題:C# KeyTime類的具體用法?C# KeyTime怎麽用?C# KeyTime使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


KeyTime類屬於System.Windows.Media.Animation命名空間,在下文中一共展示了KeyTime類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: EasingByteKeyFrame

 /// <summary>
 /// Creates a new EasingByteKeyFrame.
 /// </summary>
 public EasingByteKeyFrame(Byte value, KeyTime keyTime, IEasingFunction easingFunction)
     : this()
 {
     Value = value;
     KeyTime = keyTime;
     EasingFunction = easingFunction;
 }
開發者ID:nlh774,項目名稱:DotNetReferenceSource,代碼行數:10,代碼來源:EasingKeyFrames.cs

示例2: EasingThicknessKeyFrame

 /// <summary>
 /// Creates a new EasingThicknessKeyFrame.
 /// </summary>
 public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime, IEasingFunction easingFunction)
     : this()
 {
     Value = value;
     KeyTime = keyTime;
     EasingFunction = easingFunction;
 }
開發者ID:nlh774,項目名稱:DotNetReferenceSource,代碼行數:10,代碼來源:EasingKeyFrames.cs

示例3: SplineByteKeyFrame

        /// <summary>
        /// Creates a new SplineByteKeyFrame.
        /// </summary>
        public SplineByteKeyFrame(Byte value, KeyTime keyTime, KeySpline keySpline)
            : this()
        {
            if (keySpline == null)
            {
                throw new ArgumentNullException("keySpline");
            }

            Value = value;
            KeyTime = keyTime;
            KeySpline = keySpline;
        }
開發者ID:nlh774,項目名稱:DotNetReferenceSource,代碼行數:15,代碼來源:SplineKeyFrames.cs

示例4: Rotation3DKeyFrame

 protected Rotation3DKeyFrame(System.Windows.Media.Media3D.Rotation3D value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.Rotation3DKeyFrame.cs

示例5: DiscreteInt64KeyFrame

 public DiscreteInt64KeyFrame(long value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.DiscreteInt64KeyFrame.cs

示例6: DiscretePoint3DKeyFrame

 public DiscretePoint3DKeyFrame(System.Windows.Media.Media3D.Point3D value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.DiscretePoint3DKeyFrame.cs

示例7: DiscreteColorKeyFrame

	public DiscreteColorKeyFrame (Color value, KeyTime keyTime)
	{
		this.value = value;
		this.keyTime = keyTime;
	}
開發者ID:alesliehughes,項目名稱:olive,代碼行數:5,代碼來源:DiscreteColorKeyFrame.cs

示例8: LinearByteKeyFrame

 public LinearByteKeyFrame(byte value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.LinearByteKeyFrame.cs

示例9: SplineRectKeyFrame

 public SplineRectKeyFrame(System.Windows.Rect value, KeyTime keyTime, KeySpline keySpline)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.SplineRectKeyFrame.cs

示例10: DiscreteObjectKeyFrame

 public DiscreteObjectKeyFrame(Object value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.DiscreteObjectKeyFrame.cs

示例11: SingleKeyFrame

 protected SingleKeyFrame(float value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.SingleKeyFrame.cs

示例12: DoubleKeyFrame

 protected DoubleKeyFrame(double value, KeyTime keyTime)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.DoubleKeyFrame.cs

示例13: SplineVectorKeyFrame

 public SplineVectorKeyFrame(System.Windows.Vector value, KeyTime keyTime, KeySpline keySpline)
 {
 }
開發者ID:asvishnyakov,項目名稱:CodeContracts,代碼行數:3,代碼來源:System.Windows.Media.Animation.SplineVectorKeyFrame.cs

示例14: DiscretePoint3DKeyFrame

 /// <summary>
 /// Creates a new DiscretePoint3DKeyFrame.
 /// </summary>
 public DiscretePoint3DKeyFrame(Point3D value, KeyTime keyTime)
     : base(value, keyTime)
 {
 }
開發者ID:krytht,項目名稱:DotNetReferenceSource,代碼行數:7,代碼來源:DiscreteKeyFrames.cs

示例15: DiscreteMatrixKeyFrame

 /// <summary>
 /// Creates a new DiscreteMatrixKeyFrame.
 /// </summary>
 public DiscreteMatrixKeyFrame(Matrix value, KeyTime keyTime)
     : base(value, keyTime)
 {
 }
開發者ID:krytht,項目名稱:DotNetReferenceSource,代碼行數:7,代碼來源:DiscreteKeyFrames.cs


注:本文中的System.Windows.Media.Animation.KeyTime類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。