标签: 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。我需要具有随机形状边框的路径,即轮廓 - 就像此图像中的蓝色路径:
nested = a_lis[0] value_tuples = [tuple(dictionary[k] for k in sorted(dictionary)) for dictionary in nested]
UIBezierPath
我还没有在CGContext找到任何有助于这样做的内容。可以使用UIBezierPath甚至CGPattern来完成吗?
CGContext
CGPattern