我曾經路徑由CGMutablePathRef確定CGMutablePathRef的邊界?
CGMutablePathRef pointsPathpath = CGPathCreateMutable();
CGPathMoveToPoint(pointsPathpath, NULL, firstPoint.x, firstPoint.y);
CGPathAddLineToPoint(pointsPathpath, NULL, secondPoint.x, secondPoint.y);
CGPathAddLineToPoint(pointsPathpath, NULL, thirdPoint.x, thirdPoint.y);
CGPathAddLineToPoint(pointsPathpath, NULL, fourthPoint.x, fourthPoint.y);
CGPathCloseSubpath(pointsPathpath);
做有什麼辦法得到它的邊界點?
在此先感謝。
這可能是值得一提的兩者之間的區別,你不覺得嗎? –
該文檔使其非常清楚,不是嗎? –