GITanim loader/render

Note: GIFanim module must be loaded by calling LoadLibrary("gifanim") before using!

See:
  - LoadLibrary()

# Methods

#### # inner Close()

Close GIFanim after use

#### # inner GetComment() → {string}

get gif anim comment

Returns:

the gif anim comment

Type: string

#### # inner GIFanim(filename)

load a GIF animation.

##### Parameters:

Name | Type | Description
--- | --- | ---
`filename` | string | file name of the GIT to load

#### # inner PlayFrame(x, y) → {number}

play the next frame of the animation. Frames are rendered consecutive with each call. It is not possible to directly render a specific frame except by using SkipFrame().

##### Parameters:

Name | Type | Description
--- | --- | ---
`x` | number | x position to render the left, upper edge of the animation
`y` | number | y position to render the left, upper edge of the animation

Returns:

-1 if this was the last frame, else the delay for the next frame.

Type: number

#### # inner SkipFrame() → {number}

skip the rendering of a frame.

Returns:

-1 if this was the last frame, else the delay for the next frame.

Type: number