Exemplo n.º 1
0
 static AnimationValueCalculatorFactory()
 {
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(bool), typeof(AnimationValueBoolCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(int), typeof(AnimationValueIntCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Rectangle), typeof(AnimationValueRectangleCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Color), typeof(AnimationValueColorCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Font), typeof(AnimationValueFontCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(float), typeof(AnimationValueFloatCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(double), typeof(AnimationValueDoubleCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Padding), typeof(AnimationValuePaddingCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Size), typeof(AnimationValueSizeCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(SizeF), typeof(AnimationValueSizeFCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(Point), typeof(AnimationValuePointCalculator));
     AnimationValueCalculatorFactory.RegisterAnimationValueCalculatorType(typeof(PointF), typeof(AnimationValuePointFCalculator));
 }