We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在的图片裁剪是直接裁剪长宽,如何让任意的形状路径裁剪图片呢。
比如让一个图片放到一个三角形里面、一个半圆里面。
The text was updated successfully, but these errors were encountered:
我这里使用了一种简化的方式,外部使用现成的库裁剪。
理想的方式是使用 image + clipPath 实现,这样就能做到任意形状的裁剪了。
Sorry, something went wrong.
效率这么高嘛 !!!!!
没有😅,我截了一个别人的demo
No branches or pull requests
现在的图片裁剪是直接裁剪长宽,如何让任意的形状路径裁剪图片呢。
比如让一个图片放到一个三角形里面、一个半圆里面。
The text was updated successfully, but these errors were encountered: