开发者

CGPath and Quartz 2D

I want to create a triangle using Quartz 2D functions. The 3 edges of the triangle should be in different co开发者_StackOverflow中文版lors. I am able to create the triangle but not able to set the color of each edge or subpath separately. Any suggestions or sample code are much appreciated.


I recommend making separate (line) paths for each side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜