Example #1
0
        public ColorInterpolator(IRenderColorable target, Color start, Color end, EaseTypes easeType,
                                 float duration = 0, bool isRepeatable = true) : base(start, end, duration, easeType, isRepeatable)
        {
            Debug.Assert(target != null, NullMessage);

            renderTarget = target;
        }
Example #2
0
 public ColorInterpolator(IRenderColorable target, EaseTypes easeType, bool isRepeatable = true) :
     this(target, Color.White, Color.White, easeType, 0, isRepeatable)
 {
 }