NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import {ZoomAnimation} from 'ngl/src/animation/animation.js'
public class | source

ZoomAnimation

Extends:

Animation → ZoomAnimation

Zoom animation. Gradually change the zoom level.

Member Summary

Public Members
public
public

Method Summary

Private Methods
private

_init()

private

_tick()

Inherited Summary

From class Animation
public get

True when animation has finished

public get

True when animation is paused

public
public
public
public
public
public
public
public
private
private
private
public

Pause animation

public

resume(releaseHold: Boolean): undefined

Resume animation

public

then(callback: Function): Promise

Promise-like interface

public

tick()

public

Toggle animation

private abstract

init animation

private abstract

called on every tick

Public Members

public zoomFrom source

public zoomTo source

Private Methods

private _init() source

init animation

Override:

Animation#_init

private _tick() source

called on every tick

Override:

Animation#_tick