Class DrawableOp.Move

  • All Implemented Interfaces:

    
    public final class DrawableOp.Move
    extends DrawableOp
                        

    Note: if you are making a UI, you should probably be using scale, rotate, or translate instead of this class.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Animation getAnimation()
      Unit apply(Renderer renderer) apply this drawable operation.
      • Methods inherited from class org.polyfrost.polyui.component.DrawableOp

        isFinished, unapply, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • apply

         Unit apply(Renderer renderer)

        apply this drawable operation.

        the renderer is provided in case you want to do some transformations. A state will already be pushed for you.

        please note that this is NOT intended to be used directly for rendering of objects, and only for transformations.