Class ZoomableImageView.SPRITEFIXPOINT

  • Enclosing class:
    ZoomableImageView

    public static class ZoomableImageView.SPRITEFIXPOINT
    extends java.lang.Object
    Static class that holds values how to fix a sprite to the underlying bitmap. For most use cases, this should be SPRITECENTER. This guarantees that the sprite center floats above the position relative to the x/y coordinates of the underlying bitmap, no matter how the underlying bitmap is zoomed in or out. However, it might be necessary to fix the sprite to one of the corners; in this case, the sprite will be fixed to the underlying pixel at one of the corners. This might be appropriate when you e.g. use an arrow that should keep pointing at something when zooming in and out.
    • Constructor Summary

      Constructors 
      Constructor Description
      SPRITEFIXPOINT()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait