Package io.scanbot.sdk.image
Class ImageInfo
java.lang.Object
io.scanbot.sdk.image.ImageInfo
Image Info.
-
Constructor Summary
ConstructorsConstructorDescriptionImageInfo(int height, int width, int maxByteSize) Constructs ImageInfo with the given params. -
Method Summary
Modifier and TypeMethodDescriptionintGetter for height field.intGetter for maxByteSize field.intgetWidth()Getter for width field.voidsetHeight(int height) Setter for height field.voidsetMaxByteSize(int maxByteSize) Setter for maxByteSize field.voidsetWidth(int width) Setter for width field.
-
Constructor Details
-
ImageInfo
public ImageInfo(int height, int width, int maxByteSize) Constructs ImageInfo with the given params.- Parameters:
height- Image height in pixels.width- Image width in pixels.maxByteSize- Byte size of the non-hibernating image.
-
-
Method Details
-
getHeight
public int getHeight()Getter for height field. See constructor documentation for more information about the field.- Returns:
- height
-
setHeight
public void setHeight(int height) Setter for height field. See constructor documentation for more information about the field.- Parameters:
height- Value to set.
-
getWidth
public int getWidth()Getter for width field. See constructor documentation for more information about the field.- Returns:
- width
-
setWidth
public void setWidth(int width) Setter for width field. See constructor documentation for more information about the field.- Parameters:
width- Value to set.
-
getMaxByteSize
public int getMaxByteSize()Getter for maxByteSize field. See constructor documentation for more information about the field.- Returns:
- maxByteSize
-
setMaxByteSize
public void setMaxByteSize(int maxByteSize) Setter for maxByteSize field. See constructor documentation for more information about the field.- Parameters:
maxByteSize- Value to set.
-