---
title: Interface: FrameAnimation
source: https://vjmap.com/en/doc/Interface_FrameAnimation.html
---

# Interface: FrameAnimation

**`property`** {Boolean} running - Getter that indicates if animation is running.

**`property`** {function():void} stop - Stops the animation.

**`property`** {function():void} start - Starts the animation.

### Table of contents

#### Properties

- [changeFps](#changefps)
- [pause](#pause)
- [running](#running)
- [start](#start)
- [status](#status)
- [stop](#stop)

### Properties

#### changeFps

• **changeFps**: (`fps`: *number*) => *void*

一秒运行多少帧，用来控制速度

##### Type declaration

▸ (`fps`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `fps` | *number* |

**Returns:** *void*

___

#### pause

• **pause**: () => *void*

pause the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### running

• `Readonly` **running**: *boolean*

A getter property that indicates if animation is running.

___

#### start

• **start**: () => *void*

Starts the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### status

• `Readonly` **status**: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)

A getter property that indicates if animation is running.

___

#### stop

• **stop**: () => *void*

Stops the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesgridlayerlabelstylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / GridLayerLabelStyle
