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 AnimationValueFontCalculator

Provides font animation calculations, primarily for animating font size changes.

Inheritance
System.Object
AnimationValueCalculator
AnimationValueFontCalculator
Inherited Members
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 AnimationValueFontCalculator : AnimationValueCalculator

Constructors

AnimationValueFontCalculator()

Declaration
public AnimationValueFontCalculator()

Properties

AssociatedType

Gets the type associated with this calculator.

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

The System.Drawing.Font type.

Overrides
AnimationValueCalculator.AssociatedType

Methods

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

Calculates the animated font 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 font value.

System.Object endValue

The ending font value.

System.Object currValue

The current font value.

System.Object step

The font animation step.

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 font for the current frame.

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

CalculateAnimationEndValue(Object, Object, Int32)

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

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

The starting font.

System.Object animationStep

The font animation step.

System.Int32 numFrames

The number of animation frames.

Returns
System.Object

The calculated end font animation step.

Overrides
AnimationValueCalculator.CalculateAnimationEndValue(Object, Object, Int32)

CalculateAnimationStep(Object, Object, Int32)

Calculates the animation step needed to transition between two fonts.

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

The starting font.

System.Object animationEndValue

The ending font.

System.Int32 numFrames

The number of animation frames.

Returns
System.Object

The calculated font animation step.

Overrides
AnimationValueCalculator.CalculateAnimationStep(Object, Object, Int32)

CalculateInversedStep(Object)

Calculates the inverse of a font animation step.

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

The font step to invert.

Returns
System.Object

The inverted font animation step.

Overrides
AnimationValueCalculator.CalculateInversedStep(Object)

ConvertAnimationStepToString(Object)

Converts a font animation step to its string representation.

Declaration
public override string ConvertAnimationStepToString(object value)
Parameters
System.Object value

The font animation step to convert.

Returns
System.String

The string representation of the step.

Overrides
AnimationValueCalculator.ConvertAnimationStepToString(Object)

ConvertToAnimationStepFromString(String)

Converts a string representation to a font animation step.

Declaration
public override object ConvertToAnimationStepFromString(string value)
Parameters
System.String value

The string value to convert.

Returns
System.Object

The font animation step.

Overrides
AnimationValueCalculator.ConvertToAnimationStepFromString(String)

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.