1
我們如何檢測兩個UIBezierPath是否碰撞。 我有UIBezierPath A,我畫線與檢測UIBezierPath碰撞ios
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
方法。
我已經在另一UIBezierPath B.
我怎樣才能檢測是否同時與B.
乾杯移動碰撞。
我們如何檢測兩個UIBezierPath是否碰撞。 我有UIBezierPath A,我畫線與檢測UIBezierPath碰撞ios
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
方法。
我已經在另一UIBezierPath B.
我怎樣才能檢測是否同時與B.
乾杯移動碰撞。
你能不能保持一個數組包含UIBezierPath乙點,當你開始繪製UIBezierPath A,可以用
UIBezierPath containsPoint
實例方法是否點正在移動或添加到碰撞(等於)與已經檢查UIBezierPath B數組中的現有點?