简体   繁体   English

如何在ios中制作拼贴类型模式

[英]How to make collage type pattern in ios

How to merge two image with rounded pattern. 如何将两个图像合并为圆形图案。 How to draw pattern like round type between two image separation Here is example of pattern i want between 2 image merging..... 如何在两个图像分离之间绘制圆形图案这里是我想在2个图像合并之间的图案的例子.....

在此输入图像描述在此输入图像描述

You may need to use your drawRect function and do DrawImage graphics in that. 您可能需要使用drawRect函数并在其中执行DrawImage图形。

Create different shapes of views using bezier path and drawing stuff and then clip to bounds to be set YES. 使用贝塞尔曲线路径和绘图材料创建不同形状的视图,然后剪切到要设置为YES的边界。 Then draw/paint image over that. 然后绘制/绘制图像。

Refer these links for the usage as I have not tried it yet but can think of this approach. 请参考这些链接以了解用法,因为我还没有尝试过,但可以考虑这种方法。

1) https://www.cocoacontrols.com/controls/iqirregularview (For Shape drawing) 2) How to draw an UIImage or directly in -drawRect:? 1) https://www.cocoacontrols.com/controls/iqirregularview (用于形状绘制)2) 如何绘制UIImage或直接在-drawRect:? (For drawing image) (用于绘制图像)

Hope you will get an idea now. 希望你现在能得到一个想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM