evCreate API 5.7 Help

EvAnimationFadeEffect Interface

The EvAnimationFadeEffect TS interface defines a blueprint of a JS object that specifies an animation effect of parts fading out or in.

Properties

An EvAnimationFadeEffect object has the following properties:

from: number;

A number, the initial level of opacity (transparency) of animated parts at the beginning of the fade effect given in the range from 0 to 100, where:

  • 0: fully transparent.

  • 100: fully opaque.

span: EvAnimationTimeSpan;

An EvAnimationTimeSpan object, the position and duration of the fade effect on the animation timeline.

to: number;

A number, the final level of opacity (transparency) of the animated parts at the end of the fade effect given in the range from 0 to 100, where:

  • 0: fully transparent.

  • 100: fully opaque.

Examples

TS

{ from: 100, span: { end: 7, type: EvAnimationPositionType.Time, start: 5 }, to: 0 }

JS

{ from: 100, span: { end: 7, type: "time", start: 5 }, to: 0 }
28 April 2025