简体   繁体   中英

i want to change rect UIImage to polygon image with different shape

I want to draw a rectangular UIImage to a polygon UIImage. Like below example. 矩形影像

to 我想要的最终图像

you will have to look into OpenGL ES, this will definately be able to draw textures onto a plain surface which is tilted, and most likely its your only option . plus, the advantage being, you can actually animate the tilt in motion, like on coverflow

im not sure quartz can do it, but you will have to check that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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