mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-20 04:24:41 +00:00
31 lines
724 B
Objective-C
31 lines
724 B
Objective-C
//
|
|
// LOTAsset.h
|
|
// Pods
|
|
//
|
|
// Created by Brandon Withrow on 2/16/17.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
@class LOTLayerGroup;
|
|
@class LOTLayer;
|
|
|
|
@interface LOTAsset : NSObject
|
|
|
|
- (instancetype)initWithJSON:(NSDictionary *)jsonDictionary
|
|
withBounds:(CGRect)bounds
|
|
withFramerate:(NSNumber *)framerate;
|
|
|
|
@property (nonatomic, readonly) NSString *referenceID;
|
|
@property (nonatomic, readonly) NSNumber *assetWidth;
|
|
@property (nonatomic, readonly) NSNumber *assetHeight;
|
|
|
|
@property (nonatomic, readonly) NSString *imageName;
|
|
@property (nonatomic, readonly) NSString *imageDirectory;
|
|
|
|
@property (nonatomic, readonly) LOTLayerGroup *layerGroup;
|
|
|
|
@end
|