animation

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(param CreateAnimationParam) (*[]byte, error)

Types

type CreateAnimationParam

type CreateAnimationParam struct {
	Frames []CreateFrameParam
}

type CreateFrameParam

type CreateFrameParam struct {
	URI   string // URL or local path. support gif|jpeg|png
	Delay int    // Delay time, one per frame, in 100ths of a second. Set to gif.GIF.Delay
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL