gpt4 book ai didi

iphone - 如何在 iPhone/iPad 上为线条添加纹理

转载 作者:行者123 更新时间:2023-11-29 13:49:03 25 4
gpt4 key购买 nike

我正在使用 CGContextBeginPath、CGContextMoveToPoint、CGContextAddLineToPoint 等 CGContextStrokePath 方法绘制线条。我也想对这些线条应用纹理。

谁能给我指点 Apple 文档、一个解释如何操作的博客等...

最佳答案

在另一个论坛上问过这个问题,那里得到了很好的回答。这是答案的链接。

http://monotouch.2284126.n4.nabble.com/How-do-you-add-a-texture-to-a-line-on-the-iPhone-iPad-tp3500298p3500298.html;cid=1304641992170-368

关于iphone - 如何在 iPhone/iPad 上为线条添加纹理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5890468/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com