mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
53 lines
1.3 KiB
Objective-C
53 lines
1.3 KiB
Objective-C
//
|
|
// LOTBezierPath.h
|
|
// Lottie
|
|
//
|
|
// Created by brandon_withrow on 7/20/17.
|
|
// Copyright © 2017 Airbnb. All rights reserved.
|
|
//
|
|
|
|
#import "LOTPlatformCompat.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface LOTBezierPath : NSObject
|
|
|
|
+ (instancetype)newPath;
|
|
|
|
- (void)LOT_moveToPoint:(CGPoint)point;
|
|
|
|
- (void)LOT_addLineToPoint:(CGPoint)point;
|
|
|
|
- (void)LOT_addCurveToPoint:(CGPoint)point
|
|
controlPoint1:(CGPoint)cp1
|
|
controlPoint2:(CGPoint)cp2;
|
|
|
|
- (void)LOT_closePath;
|
|
|
|
- (void)LOT_removeAllPoints;
|
|
|
|
- (void)LOT_appendPath:(LOTBezierPath *)bezierPath;
|
|
|
|
- (void)trimPathFromT:(CGFloat)fromT toT:(CGFloat)toT offset:(CGFloat)offset;
|
|
|
|
- (void)LOT_applyTransform:(CGAffineTransform)transform;
|
|
|
|
@property (nonatomic, assign) BOOL cacheLengths;
|
|
|
|
@property (nonatomic, readonly) CGFloat length;
|
|
|
|
@property (nonatomic, readonly) CGPathRef CGPath;
|
|
@property (nonatomic, readonly) CGPoint currentPoint;
|
|
@property (nonatomic) CGFloat lineWidth;
|
|
@property (nonatomic) CGLineCap lineCapStyle;
|
|
@property (nonatomic) CGLineJoin lineJoinStyle;
|
|
@property (nonatomic) CGFloat miterLimit;
|
|
@property (nonatomic) CGFloat flatness;
|
|
@property (nonatomic) BOOL usesEvenOddFillRule;
|
|
@property (readonly, getter=isEmpty) BOOL empty;
|
|
@property (nonatomic, readonly) CGRect bounds;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|