在Swift中具有随机形状边框的UIBezierPath

时间:2017-02-27 15:43:32

标签: ios swift uibezierpath cgcontext

我使用Swift 3.0在nested = a_lis[0] value_tuples = [tuple(dictionary[k] for k in sorted(dictionary)) for dictionary in nested] 上绘制UIBezierPath。我需要具有随机形状边框的路径,即轮廓 - 就像此图像中的蓝色路径:

enter image description here

我还没有在CGContext找到任何有助于这样做的内容。可以使用UIBezierPath甚至CGPattern来完成吗?

0 个答案:

没有答案