Skip to content

NodeEffect.NodeEffectScope

enum NodeEffect.NodeEffectScope
Package: dev.joid.lib.ui.node.effect · Module: core · Source: NodeEffect.java

What the shader passes of an effect process, the node alone or the node with its children.

NodeEffect.scope takes it. It changes the effects that work on pixels: rounded, circle, blur, border and the passes of your own effects. A shadow, a mask, a transform and every draw of an effect always cover the children.

ValueSummary
SELFThe passes process what the node draws itself; its children, its label and its layers draw on top, untouched.
CHILDRENThe passes process the node with its children and its layers, as one picture: rounded corners also cut the children that reach the edges.

SELF

The passes process what the node draws itself; its children, its label and its layers draw on top, untouched.

CHILDREN

The passes process the node with its children and its layers, as one picture: rounded corners also cut the children that reach the edges.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page