Maps API for JavaScript

China specific
Maps API for JavaScript Developer's Guide

H.util.animation.ease

Namespace Summary

This namespace contains functions related to easing animation.

Method Summary

Table 1. Methods
Methods

static LINEAR (val) : {number}

This function defines linear easing.

static EASE_IN_QUAD (val) : {number}

This function defines quadratic easing in.

static EASE_OUT_QUAD (val) : {number}

This function defines quadratic easing out.

static EASE_IN_OUT_QUINT (val) : {number}

This function defines easing in and out with slope.

static EASE_OUT_CIRC (val) : {number}

This function defines easing out with circ function.

Namespace Description

This namespace contains functions related to easing animation.

Method Details

static LINEAR (val) : {number}

This function defines linear easing.

Parameters:
 
val:
{number}
 
A value in the range [0..1] to translate
Returns:
 
{number}
The translated value

static EASE_IN_QUAD (val) : {number}

This function defines quadratic easing in.

Parameters:
 
val:
{number}
 
A value in range [0..1] to translate
Returns:
 
{number}
The translated value

static EASE_OUT_QUAD (val) : {number}

This function defines quadratic easing out.

Parameters:
 
val:
{number}
 
A value in range [0..1] to translate
Returns:
 
{number}
The translated value

static EASE_IN_OUT_QUINT (val) : {number}

This function defines easing in and out with slope.

Parameters:
 
val:
{number}
 
A value in range [0..1] to translate
Returns:
 
{number}
The translated value

static EASE_OUT_CIRC (val) : {number}

This function defines easing out with circ function.

Parameters:
 
val:
{number}
 
A value in the range [0..1] to translate
Returns:
 
{number}
The translated value