TransitionDrawing
interface TransitionDrawing
Package: dev.joid.lib.ui.core.transition · Module: core · Source: TransitionDrawing.java
Function that draws a UI for a progress of its transition step, around the body that draws its nodes.
Description
Section titled “Description”Give it to TransitionStep.draw.
It runs on the render thread, at every frame of the step.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | draw(UI ui, float progress, Runnable body) abstract | Draws the UI at this progress, from 0 to 1: change the matrix stack or the render state, then run the body once, which draws every node of the UI. |
Method details
Section titled “Method details”void draw(UI ui, float progress, Runnable body) abstract
Draws the UI at this progress, from 0 to 1: change the matrix stack or the render state, then run the body once, which draws every node of the UI.
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
