Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个 iPhone 应用程序,我想知道如果我得到 3 个点如何制作曲线
(3,2) (4,3) (5,4)
我怎样才能做出曲线?
如果您使用的是 CoreGraphics,那么像CGPathAddCurveToPoint, CGContextAddCurveToPoint, CGContextAddArc,等API将是一个开始。CGPathAddArc
CGPathAddCurveToPoint
CGContextAddCurveToPoint
CGContextAddArc
CGPathAddArc