skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AnimationValueFloatCalculator

Provides floating-point value animation calculations with precise interpolation.

Inheritance
System.Object
AnimationValueCalculator
AnimationValueFloatCalculator
Inherited Members
AnimationValueCalculator.ConvertAnimationStepToString(Object)
AnimationValueCalculator.ConvertToAnimationStepFromString(String)
AnimationValueCalculator.CalculateIntStep(Int32, Int32, Int32)
AnimationValueCalculator.CalculateIntStep(Int32, Int32, Int32, Int32, Int32)
AnimationValueCalculator.CalculateFloatStep(Single, Single, Int32)
AnimationValueCalculator.CalculateFloatStep(Single, Single, Single, Single, Single)
AnimationValueCalculator.CalculateDoubleStep(Double, Double, Int32)
AnimationValueCalculator.CalculateDoubleStep(Double, Double, Double, Double, Double)
AnimationValueCalculator.CalculateFloatEndValue(Single, Single, Int32)
AnimationValueCalculator.CalculateFloatEndValue(Single, Single, Int32, Single, Single)
AnimationValueCalculator.CalculateDoubleEndValue(Double, Double, Int32)
AnimationValueCalculator.CalculateDoubleEndValue(Double, Double, Int32, Double, Double)
AnimationValueCalculator.CalculateIntEndValue(Int32, Int32, Int32)
AnimationValueCalculator.CalculateIntEndValue(Int32, Int32, Int32, Int32, Int32)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll

Syntax

public class AnimationValueFloatCalculator : AnimationValueCalculator

Constructors

AnimationValueFloatCalculator()

Declaration
public AnimationValueFloatCalculator()

Properties

AssociatedType

Gets the type associated with this calculator.

Declaration
public override Type AssociatedType { get; }
Property Value
System.Type

The System.Single type.

Overrides
AnimationValueCalculator.AssociatedType

Methods

CalculateAnimatedValue(Object, Object, Object, Object, Int32, Int32, EasingCalculator)

Calculates the animated float value for the current frame.

Declaration
public override object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
Parameters
System.Object startValue

The starting float value.

System.Object endValue

The ending float value.

System.Object currValue

The current float value.

System.Object step

The animation step value.

System.Int32 currFrameNum

The current frame number.

System.Int32 totalFrameNum

The total number of frames.

EasingCalculator calc

The easing calculator.

Returns
System.Object

The calculated float value for the current frame.

Overrides
AnimationValueCalculator.CalculateAnimatedValue(Object, Object, Object, Object, Int32, Int32, EasingCalculator)

CalculateAnimationEndValue(Object, Object, Int32)

Calculates the end float value based on start value and animation step.

Declaration
public override object CalculateAnimationEndValue(object animationStartValue, object step, int numFrames)
Parameters
System.Object animationStartValue

The starting float value.

System.Object step

The float animation step.

System.Int32 numFrames

The number of animation frames.

Returns
System.Object

The calculated end float value.

Overrides
AnimationValueCalculator.CalculateAnimationEndValue(Object, Object, Int32)

CalculateAnimationStep(Object, Object, Int32)

Calculates the animation step needed to transition between two float values.

Declaration
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
Parameters
System.Object animationStartValue

The starting float value.

System.Object animationEndValue

The ending float value.

System.Int32 numFrames

The number of animation frames.

Returns
System.Object

The calculated float animation step.

Overrides
AnimationValueCalculator.CalculateAnimationStep(Object, Object, Int32)

CalculateInversedStep(Object)

Calculates the inverse of a float animation step.

Declaration
public override object CalculateInversedStep(object step)
Parameters
System.Object step

The float step to invert.

Returns
System.Object

The inverted float step.

Overrides
AnimationValueCalculator.CalculateInversedStep(Object)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.