Class LevelImageSupport

    • Constructor Detail

      • LevelImageSupport

        public LevelImageSupport​(int sourceWidth,
                                 int sourceHeight,
                                 ResolutionLevel level)
      • LevelImageSupport

        public LevelImageSupport​(int sourceWidth,
                                 int sourceHeight,
                                 int level,
                                 double scale)
    • Method Detail

      • getSourceWidth

        public int getSourceWidth()
      • getSourceHeight

        public int getSourceHeight()
      • getLevel

        public int getLevel()
      • getScale

        public double getScale()
      • getSourceX

        public final int getSourceX​(int tx)
      • getSourceY

        public final int getSourceY​(int ty)
      • getSourceWidth

        public final int getSourceWidth​(int destWidth)
      • getSourceHeight

        public final int getSourceHeight​(int destHeight)
      • getSourceCoord

        public final int getSourceCoord​(double destCoord,
                                        int min,
                                        int max)