Encapsulates the values that specify how the visualization of an indicator should be transitioned when entering or leaving the visualization.
Remarks
This class is immutable and provides read-only access to the properties specified in the constructor, only. The class is modelled loosely after the set of CSS transition properties. However, it only offers a limited set of properties, a duration, and an easing function. Transition timing is a single animation cycle with a given duration. An easing function determines how progress is made during the transition.
In most parts of the API, you can depend on automatic conversion and use CSS-like strings where an instance of this class would be required, otherwise.
Type Details
- yFiles module
- view
Constructors
WebGLTransition
(properties?: WebGLTransitionProperties, duration?: TimeSpan, easing?: WebGLAnimationEasing)Creates a new immutable instance with the provided values.
Parameters
A map of options to pass to the method.
- properties - WebGLTransitionProperties
- The properties to transition. Defaults to SCALE.
- duration - TimeSpan
- The duration of the transition. Defaults to 0.3 seconds.
- easing - WebGLAnimationEasing
- The easing to apply. Defaults to LINEAR
Properties
Gets the duration of a the transition.
Property Value
Gets the easing function to apply for the transition.
Property Value
Gets the set of properties to transition.
Property Value
Constants
A transition that has a zero duration.