mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 22:25:12 +00:00
refactor shape elements add responder system.
refactor shape elements add responder system. Just iOS.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Horcrux.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT-style license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
Erica Sadun, http://ericasadun.com
|
||||
iPhone Developer's Cookbook, 6.x Edition
|
||||
BSD License, Use at your own risk
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UIBezierPath (Points)
|
||||
@property (nonatomic, readonly) NSArray *points;
|
||||
@property (nonatomic, readonly) NSArray *bezierElements;
|
||||
@property (nonatomic, readonly) CGFloat length;
|
||||
|
||||
- (NSArray *) pointPercentArray;
|
||||
- (CGPoint) pointAtPercent: (CGFloat) percent withSlope: (CGPoint *) slope;
|
||||
+ (UIBezierPath *) pathWithPoints: (NSArray *) points;
|
||||
+ (UIBezierPath *) pathWithElements: (NSArray *) elements;
|
||||
@end
|
||||
Reference in New Issue
Block a user