0
의 경계를 가져옵니다 :이 방법에서 터치나는 UIBezierPath이 영역과 UIBezierPath IOS
CGPathRef tapTargetPath = CGPathCreateCopyByStrokingPath(tracePath.CGPath, NULL, marginError, tracePath.lineCapStyle, tracePath.lineJoinStyle, tracePath.miterLimit);
UIBezierPath *tracePath = [UIBezierPath bezierPathWithCGPath:tapTargetPath];
:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
내가 포인트를 얻을 수 있습니다. 내가 2 점을 가져올 때 내가 만지고있는 UIBezierPath의 세그먼트 (영역 또는 경계)를 가져 오려면 어떻게해야합니까?
초기 직사각형을 확대하려면'CGRectInset'을 사용해야합니다. – Martin