FMKPathAnimation Class Reference

Inherits from NSObject
Declared in FMKPathAnimation.h
FMKPathAnimation.mm

Other Methods

– initWithVelocity:

初始化路径动画对象

- (instancetype)initWithVelocity:(double)velocity

Parameters

velocity

路径动画速度 单位:m/s

Return Value

路径动画对象

Discussion

初始化路径动画对象

Declared In

FMKPathAnimation.h

– setInterpolator:

设置插值器

- (void)setInterpolator:(FMKInterpolator *)interpolator

Parameters

interpolator

插值器

Discussion

设置插值器

Declared In

FMKPathAnimation.h

– animateWithNaviResults:repeatCount:lineWidth:withLine:

动画参数设置

- (void)animateWithNaviResults:(FMKNaviResult *)result repeatCount:(int)repeatCount lineWidth:(double)lineWidth withLine:(FMKLineMarker *)lineMarker

Parameters

result

路径规划结果

repeatCount

重复次数

lineWidth

线宽 根据线宽计算插值 保证插值点在线上

Discussion

动画参数设置

Declared In

FMKPathAnimation.h

Other Methods

  delegate

路径动画更新事件代理

@property (nonatomic, weak) id<FMKPathAnimationDelegate> delegate

Discussion

路径动画更新事件代理

Declared In

FMKPathAnimation.h