ease

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

缓动.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Back

func Back(p float32, flag int) int

缓动_Back.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Bounce

func Bounce(p float32, flag int) int

缓动_Bounce.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Circ

func Circ(p float32, flag int) int

缓动_Circ.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Cubic

func Cubic(p float32, flag int) int

缓动_Cubic.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Elastic

func Elastic(p float32, flag int) int

缓动_Elastic.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Expo

func Expo(p float32, flag int) int

缓动_Expo.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Linear

func Linear(p float32) int

缓动_Linear.

p: 位置, 0.0f - 1.0f.

func Quad

func Quad(p float32, flag int) int

缓动_Quad.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Quart

func Quart(p float32, flag int) int

缓动_Quart.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Quint

func Quint(p float32, flag int) int

缓动_Quint.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

func Sine

func Sine(p float32, flag int) int

缓动_Sine.

p: 位置, 0.0f - 1.0f.

flag: 缓动方式, Ease_.

Types

This section is empty.

Jump to

Keyboard shortcuts

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