Class ImageSize

java.lang.Object
com.cksource.ckfinder.image.ImageSize
All Implemented Interfaces:
Serializable

public class ImageSize extends Object implements Serializable
Class that holds info about image dimensions and compression quality.
See Also:
  • Constructor Details

    • ImageSize

      public ImageSize()
  • Method Details

    • getWidth

      public int getWidth()
      Returns image width.
      Returns:
      image width as number of pixels
    • setWidth

      public ImageSize setWidth(int width)
      Sets image width.
      Parameters:
      width - image width as number of pixels
      Returns:
      this
    • getHeight

      public int getHeight()
      Returns image height.
      Returns:
      image height as number of pixels
    • setHeight

      public ImageSize setHeight(int height)
      Sets image height.
      Parameters:
      height - image height as number of pixels
      Returns:
      this
    • getQuality

      public int getQuality()
      Returns image quality.
      Returns:
      image quality as number between 1 and 100
    • setQuality

      public ImageSize setQuality(int quality)
      Sets image quality.
      Parameters:
      quality - image quality as number between 1 and 100
      Returns:
      this