Package org.polyfrost.polyui.component
Class DrawableOp.Rotate
-
- All Implemented Interfaces:
public final class DrawableOp.Rotate extends DrawableOp
Note: if you are making a UI, you should probably be using scale, rotate, or translate instead of this class.
-
-
Field Summary
Fields Modifier and Type Field Description private final Animationanimationprivate final BooleanisFinished
-
Constructor Summary
Constructors Constructor Description DrawableOp.Rotate(Double angle, Boolean add, Drawable drawable, Animation.Type type, Long durationNanos)
-
Method Summary
Modifier and Type Method Description AnimationgetAnimation()Unitapply(Renderer renderer)apply this drawable operation. -
-
Constructor Detail
-
DrawableOp.Rotate
DrawableOp.Rotate(Double angle, Boolean add, Drawable drawable, Animation.Type type, Long durationNanos)
-
-
Method Detail
-
getAnimation
Animation getAnimation()
-
-
-
-