Class GuiKeyframes
java.lang.Object
com.render.api.gui.GuiKeyframes
Declarative keyframes for managed GUI animations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(float progress, GuiEasing easing, Consumer<GuiKeyframeBuilder> builder) at(float progress, Consumer<GuiKeyframeBuilder> builder) Selects how this animation combines with lower-priority animations.delay(double delaySeconds) direction(GuiAnimationDirection direction) duration(double durationSeconds) essential(boolean value) Marks an animation as essential so reduced-motion mode does not skip it.fillMode(GuiAnimationFillMode fillMode) from(Consumer<GuiKeyframeBuilder> builder) infinite()iterations(int iterations) range(float start, float end) Maps the selected timeline interval into normalized keyframe progress.timeline(GuiAnimationTimeline value) Selects the time, scroll, or view-progress source.to(Consumer<GuiKeyframeBuilder> builder)
-
Constructor Details
-
GuiKeyframes
public GuiKeyframes()
-
-
Method Details
-
duration
-
delay
-
iterations
-
infinite
-
direction
-
fillMode
-
composition
Selects how this animation combines with lower-priority animations.- Parameters:
value- composition mode- Returns:
- this definition
-
timeline
Selects the time, scroll, or view-progress source.- Parameters:
value- animation timeline- Returns:
- this definition
-
range
Maps the selected timeline interval into normalized keyframe progress.- Parameters:
start- inclusive normalized startend- normalized end- Returns:
- this definition
-
essential
Marks an animation as essential so reduced-motion mode does not skip it.- Parameters:
value- whether the animation is essential- Returns:
- this definition
-
from
-
to
-
at
-
at
-