示例#1
0
        public static PropertyValuesHolder Glide(BaseEasingMethod easing, float duration, PropertyValuesHolder propertyValuesHolder)
        {
            easing.Duration = duration;
            propertyValuesHolder.SetEvaluator(easing);

            return(propertyValuesHolder);
        }
示例#2
0
 public static ValueAnimator Glide(BaseEasingMethod easing, float duration, ValueAnimator animator)
 {
     easing.Duration = duration;
     animator.SetEvaluator(easing);
     return(animator);
 }