mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-17 11:00:07 +00:00
28 lines
588 B
Objective-C
28 lines
588 B
Objective-C
//
|
|
// LOTBezierData.h
|
|
// Lottie
|
|
//
|
|
// Created by brandon_withrow on 7/10/17.
|
|
// Copyright © 2017 Airbnb. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreGraphics/CoreGraphics.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface LOTBezierData : NSObject
|
|
|
|
- (instancetype)initWithData:(NSDictionary *)bezierData;
|
|
|
|
@property (nonatomic, readonly) NSInteger count;
|
|
@property (nonatomic, readonly) BOOL closed;
|
|
|
|
- (CGPoint)vertexAtIndex:(NSInteger)index;
|
|
- (CGPoint)inTangentAtIndex:(NSInteger)index;
|
|
- (CGPoint)outTangentAtIndex:(NSInteger)index;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|