Class
AnimationValueSizeFCalculator

Represents a value size animation calculator using floating point values.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class AnimationValueSizeFCalculator : AnimationValueCalculator

Inheritance: objectAnimationValueCalculatorAnimationValueSizeFCalculator

Inherited Members AnimationValueCalculator.ConvertAnimationStepToString(object)AnimationValueCalculator.ConvertToAnimationStepFromString(string)AnimationValueCalculator.CalculateIntStep(int, int, int)AnimationValueCalculator.CalculateIntStep(int, int, int, int, int)AnimationValueCalculator.CalculateFloatStep(float, float, int)AnimationValueCalculator.CalculateFloatStep(float, float, float, float, float)AnimationValueCalculator.CalculateDoubleStep(double, double, int)AnimationValueCalculator.CalculateDoubleStep(double, double, double, double, double)AnimationValueCalculator.CalculateFloatEndValue(float, float, int)AnimationValueCalculator.CalculateFloatEndValue(float, float, int, float, float)AnimationValueCalculator.CalculateDoubleEndValue(double, double, int)AnimationValueCalculator.CalculateDoubleEndValue(double, double, int, double, double)AnimationValueCalculator.CalculateIntEndValue(int, int, int)AnimationValueCalculator.CalculateIntEndValue(int, int, int, int, int)

Constructors

AnimationValueSizeFCalculator()

Declaration

cs-api-definition
public AnimationValueSizeFCalculator()

Properties

AssociatedType

Gets the type associated with this animation calculator.

Declaration

cs-api-definition
public override Type AssociatedType { get; }

Property Value

Type

The type that this calculator can animate.

Overrides AnimationValueCalculator.AssociatedType

Methods

CalculateAnimatedValue(object, object, object, object, int, int, EasingCalculator)

Calculates the animated value for the current frame using interpolation and easing.

Declaration

cs-api-definition
public override object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)

Parameters

startValue

object

The starting value of the animation.

endValue

object

The ending value of the animation.

currValue

object

The current value of the animation.

step

object

The animation step value.

currFrameNum

int

The current frame number.

totalFrameNum

int

The total number of frames.

calc

EasingCalculator

The easing calculator to apply.

Returns

object

The calculated animated value for the current frame.

Overrides AnimationValueCalculator.CalculateAnimatedValue(object, object, object, object, int, int, EasingCalculator)

CalculateAnimationEndValue(object, object, int)

Calculates the animation end value from start value, step, and the total number of frames.

Declaration

cs-api-definition
public override object CalculateAnimationEndValue(object animationStartValue, object animationStep, int numFrames)

Parameters

animationStartValue

object

animationStep

object

numFrames

int

Returns

object

Overrides AnimationValueCalculator.CalculateAnimationEndValue(object, object, int)

CalculateAnimationStep(object, object, int)

Calculates the animation step from start value, end value, and the total number of frames.

Declaration

cs-api-definition
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)

Parameters

animationStartValue

object

animationEndValue

object

numFrames

int

Returns

object

Overrides AnimationValueCalculator.CalculateAnimationStep(object, object, int)

CalculateInversedStep(object)

Calculates the inverse of the specified animation step.

Declaration

cs-api-definition
public override object CalculateInversedStep(object step)

Parameters

step

object

The animation step to invert.

Returns

object

The inverted animation step.

Overrides AnimationValueCalculator.CalculateInversedStep(object)