mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
28 lines
730 B
Objective-C
28 lines
730 B
Objective-C
//
|
|
// LOTScene.h
|
|
// LottieAnimator
|
|
//
|
|
// Created by Brandon Withrow on 12/14/15.
|
|
// Copyright © 2015 Brandon Withrow. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
@class LOTLayer;
|
|
|
|
@interface LOTComposition : NSObject
|
|
|
|
- (instancetype)initWithJSON:(NSDictionary *)jsonDictionary;
|
|
|
|
@property (nonatomic, readonly) NSArray <LOTLayer *> *layers;
|
|
@property (nonatomic, readonly) CGRect compBounds;
|
|
@property (nonatomic, readonly) NSNumber *startFrame;
|
|
@property (nonatomic, readonly) NSNumber *endFrame;
|
|
@property (nonatomic, readonly) NSNumber *framerate;
|
|
@property (nonatomic, readonly) NSTimeInterval timeDuration;
|
|
|
|
- (LOTLayer *)layerModelForID:(NSNumber *)layerID;
|
|
|
|
@end
|