Files
Swiftgram/lottie-ios/Classes/LAAnimatableNumberValue.h
2017-02-02 03:45:10 +02:00

26 lines
750 B
Objective-C

//
// LAAnimatableNumberValue.h
// LottieAnimator
//
// Created by brandon_withrow on 6/23/16.
// Copyright © 2016 Brandon Withrow. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import "LAAnimatableValue.h"
@interface LAAnimatableNumberValue : NSObject <LAAnimatableValue>
- (instancetype)initWithNumberValues:(NSDictionary *)numberValues frameRate:(NSNumber *)frameRate;
- (void)remapValuesFromMin:(NSNumber *)fromMin
fromMax:(NSNumber *)fromMax
toMin:(NSNumber *)toMin
toMax:(NSNumber *)toMax;
- (void)remapValueWithBlock:(CGFloat (^)(CGFloat inValue))remapBlock;
@property (nonatomic, readonly) NSNumber *initialValue;
@end