Class ImageFileResourceImpl

java.lang.Object
All Implemented Interfaces:
Identifiable, FileResource, ImageFileResource

public class ImageFileResourceImpl
extends FileResourceImpl
implements ImageFileResource
  • Constructor Details

    • ImageFileResourceImpl

      public ImageFileResourceImpl()
  • Method Details

    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface ImageFileResource
      Returns:
      width in pixel
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface ImageFileResource
      Returns:
      height in pixel
    • setWidth

      public void setWidth​(int width)
      Specified by:
      setWidth in interface ImageFileResource
      Parameters:
      width - width in pixel
    • setHeight

      public void setHeight​(int height)
      Specified by:
      setHeight in interface ImageFileResource
      Parameters:
      height - height in pixel