Class Tile
- java.lang.Object
-
- info.freelibrary.iiif.presentation.v3.services.image.Tile
-
public class Tile extends Object
An Image API tile.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
Gets the tile's height.int[]
getScaleFactors()
Gets the tile's scale factors.int
getWidth()
Gets the tile's width.Tile
setHeight(int aHeight)
Sets the tile's height.Tile
setScaleFactors(int... aScaleFactorsArray)
Sets the tile's scale factors.Tile
setWidth(int aWidth)
Sets the tile's width.
-
-
-
Method Detail
-
setHeight
public Tile setHeight(int aHeight)
Sets the tile's height.- Parameters:
aHeight
- A tile height- Returns:
- This tile
-
getHeight
public int getHeight()
Gets the tile's height.- Returns:
- The tile height
-
setWidth
public Tile setWidth(int aWidth)
Sets the tile's width.- Parameters:
aWidth
- A tile width- Returns:
- This tile
-
getWidth
public int getWidth()
Gets the tile's width.- Returns:
- A tile width
-
setScaleFactors
public Tile setScaleFactors(int... aScaleFactorsArray)
Sets the tile's scale factors.- Parameters:
aScaleFactorsArray
- A tile's scale factors- Returns:
- This tile
-
getScaleFactors
public int[] getScaleFactors()
Gets the tile's scale factors.- Returns:
- The tile's scale factors
-
-