NodeLayer
interface NodeLayer
Package: dev.joid.lib.ui.node.layer · Module: core · Source: NodeLayer.java
Function that draws over a node, after its children, in the coordinates of the node.
Description
Section titled “Description”Add one with Node.layer(NodeLayer).
It runs on the render thread at every frame where the node is drawn.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | draw(Node node, double mouseX, double mouseY) abstract | Draws over the node: (0, 0) is its top-left corner, and the mouse position is given in the same coordinates. |
Method details
Section titled “Method details”void draw(Node node, double mouseX, double mouseY) abstract
Draws over the node: (0, 0) is its top-left corner, and the mouse position is given in the same coordinates.
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
