Class ThumbnailConfigImpl

    • 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.