Class ThumbnailConfigImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ThumbnailConfigImpl​(int width, int height, boolean doCenter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean doCenter()
      Returns whether this thumbnail is rendered centered.
      int getHeight()
      Retrieves the height in pixels for a thumbnail.
      int getWidth()
      Retrieves the width in pixels for a thumbnail.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThumbnailConfigImpl

        public ThumbnailConfigImpl​(int width,
                                   int height,
                                   boolean doCenter)
    • Method Detail

      • getWidth

        public int getWidth()
        Description copied from interface: ThumbnailConfig
        Retrieves the width in pixels for a thumbnail.
        Specified by:
        getWidth in interface ThumbnailConfig
        Returns:
        The width of the thumbnail.
      • getHeight

        public int getHeight()
        Description copied from interface: ThumbnailConfig
        Retrieves the height in pixels for a thumbnail.
        Specified by:
        getHeight in interface ThumbnailConfig
        Returns:
        The height of the thumbnail.
      • doCenter

        public boolean doCenter()
        Description copied from interface: ThumbnailConfig
        Returns whether this thumbnail is rendered centered.
        Specified by:
        doCenter in interface ThumbnailConfig
        Returns:
        true if the thumbnail is rendered centered.