animation

package
v0.0.0-...-50c553c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Glider

type Glider struct {
	// contains filtered or unexported fields
}

func NewGlider

func NewGlider(value float64) *Glider

func (*Glider) AddEvent

func (glider *Glider) AddEvent(startTime, endTime, targetValue float64)

func (*Glider) AddEventS

func (glider *Glider) AddEventS(startTime, endTime, startValue, targetValue float64)

func (*Glider) GetValue

func (glider *Glider) GetValue() float64

func (*Glider) SetEasing

func (glider *Glider) SetEasing(easing func(float64) float64)

func (*Glider) SetValue

func (glider *Glider) SetValue(value float64)

func (*Glider) Update

func (glider *Glider) Update(time float64)

func (*Glider) UpdateD

func (glider *Glider) UpdateD(delta float64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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