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
Image 图元,支持路径裁剪:
支持图片蒙版功能(如下图):
image.clip or image.clipPath
image.clip
image.clipPath
image.compositeSource
The text was updated successfully, but these errors were encountered:
图片蒙版使用 globalComposition: 'source-atop' 方案,可能不行;
结果颜色 = (源颜色 × 目标alpha) + (目标颜色 × (1 - 源alpha))
Sorry, something went wrong.
neuqzxy
No branches or pull requests
What problem does this feature solve?
Image 图元,支持路径裁剪:
支持图片蒙版功能(如下图):
What does the proposed API look like?
image.clip
orimage.clipPath
image.compositeSource
The text was updated successfully, but these errors were encountered: