Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在努力裁剪图像角落。
我想合并两张不同形状的图像,比如一张是方形的,另一张是垂直圆角矩形的。
我合并了两个图像并将它们混合在一起。但我无法将方形图像裁剪成垂直的圆角矩形。
请告诉我如何裁剪图像边角......
试试这样:
[myImageView.layer setCornerRadius:2.0f]; // adjust 2.0 as per your need