mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
30 lines
950 B
Objective-C
30 lines
950 B
Objective-C
//
|
|
// LOTShapeTransform.h
|
|
// LottieAnimator
|
|
//
|
|
// Created by Brandon Withrow on 12/15/15.
|
|
// Copyright © 2015 Brandon Withrow. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
@class LOTAnimatableNumberValue;
|
|
@class LOTAnimatablePointValue;
|
|
@class LOTAnimatableScaleValue;
|
|
|
|
@interface LOTShapeTransform : NSObject
|
|
|
|
+ (instancetype)transformIdentityWithCompBounds:(CGRect)compBounds;
|
|
|
|
- (instancetype)initWithJSON:(NSDictionary *)jsonDictionary frameRate:(NSNumber *)frameRate compBounds:(CGRect)compBounds;
|
|
|
|
@property (nonatomic, readonly) CGRect compBounds;
|
|
@property (nonatomic, readonly) LOTAnimatablePointValue *position;
|
|
@property (nonatomic, readonly) LOTAnimatablePointValue *anchor;
|
|
@property (nonatomic, readonly) LOTAnimatableScaleValue *scale;
|
|
@property (nonatomic, readonly) LOTAnimatableNumberValue *rotation;
|
|
@property (nonatomic, readonly) LOTAnimatableNumberValue *opacity;
|
|
|
|
@end
|