You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
819 B

//
// UIBezierPath+ThroughPointsBezier.h
// ZHLineChart
//
// Created by 周亚楠 on 2020/3/1.
// Copyright © 2020 Zhou. All rights reserved.
//
//#import <AppKit/AppKit.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIBezierPath (ThroughPointsBezier)
/**
* 线0.6 ~ 0.80.7
*/
@property (nonatomic) CGFloat contractionFactor;
/**
* 线
* CGPoint结构体包装成NSValue对象并且至少一个点来画折线
*/
- (void)addNormalBezierThroughPoints:(NSArray *)pointArray;
/**
* 线线
* CGPoint结构体包装成NSValue对象并且至少一个点来画曲线
*/
- (void)addBezierThroughPoints:(NSArray *)pointArray;
@end
NS_ASSUME_NONNULL_END