XuniEasingUtil Class Reference

Inherits from NSObject
Declared in Easing.h

Overview

Easing Util.

+ ease:time:beginning:change:duration:

Get a value for ease animation with parameters.

+ (double)ease:(id<IXuniEaseAction>)ease time:(double)t beginning:(double)b change:(double)c duration:(double)d

Parameters

ease

the ease.

t

the time.

b

the specified beginning value.

c

the specified change value.

d

the duration.

Return Value

a value for ease animation.

Discussion

Get a value for ease animation with parameters.

Declared In

Easing.h

+ easePointsListX:Y:bottom:time:duration:direction:ease:

Get a NSDictionary with parameters.

+ (NSDictionary *)easePointsListX:(NSArray *)xs Y:(NSArray *)ys bottom:(double)bottom time:(double)t duration:(double)d direction:(XuniDirection)dir ease:(id<IXuniEaseAction>)ease

Parameters

xs

array contains X values of points.

ys

array contains Y values of points.

bottom

the bottom.

t

the time.

d

the duration.

dir

the direction.

ease

the ease.

Return Value

a NSDictionary.

Discussion

Get a NSDictionary with parameters.

Declared In

Easing.h