Class SlideAnimation
java.lang.Object
net.ixdarklord.coolcatcanvas.api.client.gui.components.animations.AnimatedComponent
net.ixdarklord.coolcatcanvas.api.client.gui.components.animations.SlideAnimation
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AnimatedComponent
AnimatedComponent.AnimMode, AnimatedComponent.Position, AnimatedComponent.Size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull AnimatedComponent.PositiongetAlignedPosition(ScreenAnchor screenAnchor, int screenWidth, int screenHeight, int width, int height, int padding) @NotNull AnimatedComponent.PositiongetRelativePosition(ScreenAnchor screenAnchor, int x, int y, int width, int height, int padding) Methods inherited from class AnimatedComponent
getAnimationMode, getDuration, getRelativeSize, getTimeline, isFinished, isForward, isPlaying, play, play, stopAnimation, update
-
Constructor Details
-
SlideAnimation
-
-
Method Details
-
getAlignedPosition
@NotNull public @NotNull AnimatedComponent.Position getAlignedPosition(ScreenAnchor screenAnchor, int screenWidth, int screenHeight, int width, int height, int padding) - Specified by:
getAlignedPositionin classAnimatedComponent
-
getRelativePosition
@NotNull public @NotNull AnimatedComponent.Position getRelativePosition(ScreenAnchor screenAnchor, int x, int y, int width, int height, int padding) - Specified by:
getRelativePositionin classAnimatedComponent
-