标签: ios merge uibezierpath cgpath
我有两个UIBezierPath对象,例如hexaPath和UIBezierPath * resultPath = [[UIBezierPath alloc] init]; [resultPath appendPath:starPath]; [resultPath appendPath:hexaPath]; 。我想创建一个带有单个机箱的合并路径,如图中虚线路径所示。
hexaPath
UIBezierPath * resultPath = [[UIBezierPath alloc] init]; [resultPath appendPath:starPath]; [resultPath appendPath:hexaPath];
但是下面的代码导致两个封闭的单独路径。
{{1}}
我想要图中显示的虚线路径。请帮忙。