pub fn filter(child: impl UiNode, filter: impl IntoVar<Filter>) -> impl UiNode
Expand description
P
Color filter, or combination of filters.
This property allows setting multiple filters at once, there is also a property for every filter for easier value updating.
ยงPerformance
The performance for setting specific filter properties versus this one is the same, except for opacity
which can be animated using only frame updates instead of generating a new frame every change.