Skip to content

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.

Give it to TransitionStep.draw. It runs on the render thread, at every frame of the step.

ReturnsSignatureSummary
voiddraw(UI ui, float progress, Runnable body) abstractDraws 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.

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

Report a problem with this page