2017-02-24 09:47:18 -08:00

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