Is there any way in h5 or js to crop the image on the web page, and then cut it into rounded corners? At present, I have only seen rectangular cuts. I wonder if it is possible to achieve a transparent .png cut with rounded corners
黄舟2017-06-08 11:05:09
You need a canvas, and then use the line API and arcto API of canvas to complete this series of coquettish operations.