Skip to content
New issue

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

混合模式是否可以设置滤镜强度 #297

Open
QC2168 opened this issue Dec 20, 2024 · 3 comments
Open

混合模式是否可以设置滤镜强度 #297

QC2168 opened this issue Dec 20, 2024 · 3 comments

Comments

@QC2168
Copy link

QC2168 commented Dec 20, 2024

查了文档,地址 https://www.leaferjs.com/ui/reference/property/blendMode.html
看上去只能设置属性,但是无法设置滤镜强度?
比如模糊,可以设置饱和度程度

@leaferjs
Copy link
Owner

目前还不行,后面计划会支持自定义滤镜,已经加了接口了。

暂时可以通过Canvas元素,做一些原生的滤镜操作。

@QC2168
Copy link
Author

QC2168 commented Dec 20, 2024

我想要Image元素可以调节,"暂时可以通过Canvas元素,做一些原生的滤镜操作。"这里的意思是只能全局 整个画布吗

@leaferjs
Copy link
Owner

这个canvas元素: https://www.leaferjs.com/ui/reference/display/Canvas.html

我想要Image元素可以调节,"暂时可以通过Canvas元素,做一些原生的滤镜操作。"这里的意思是只能全局 整个画布吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants