TweenPaths
final class TweenPaths
Package: dev.joid.lib.animation.tween · Module: core · Source: TweenPaths.java
The paths of JOID that join the waypoints of a tween.
Learn more
Section titled “Learn more”Constants and fields
Section titled “Constants and fields”| Type | Name | Value | Summary |
|---|---|---|---|
LinearTweenPath | LINEAR | new LinearTweenPath() | Joins the points with straight segments: the motion changes direction sharply at each waypoint. |
CatmullRomTweenPath | CATMULL_ROM | new CatmullRomTweenPath() | Joins the points with a smooth curve that passes through each of them; the default path of a tween. |
Constant and field details
Section titled “Constant and field details”LINEAR
Section titled “LINEAR”LinearTweenPath LINEAR
Joins the points with straight segments: the motion changes direction sharply at each waypoint.
CATMULL_ROM
Section titled “CATMULL_ROM”CatmullRomTweenPath CATMULL_ROM
Joins the points with a smooth curve that passes through each of them; the default path of a tween.
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
