Class Size
- java.lang.Object
-
- info.freelibrary.iiif.presentation.v3.services.image.Size
-
public class Size extends Object
An Image API size.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
Gets the size height.int
getWidth()
Gets the size width.Size
setHeight(int aHeight)
Sets the size height.Size
setWidth(int aWidth)
Sets a new size width.
-
-
-
Method Detail
-
setWidth
public Size setWidth(int aWidth)
Sets a new size width.- Parameters:
aWidth
- A size width- Returns:
- This size
-
getWidth
public int getWidth()
Gets the size width.- Returns:
- The size width
-
setHeight
public Size setHeight(int aHeight)
Sets the size height.- Parameters:
aHeight
- A size height- Returns:
- This size
-
getHeight
public int getHeight()
Gets the size height.- Returns:
- The size height
-
-