开发者

CGPath and Quartz 2D

开发者 https://www.devze.com 2022-12-31 03:05 出处:网络
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 col

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

精彩评论

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