Package io.scanbot.sdk.image
Class BasicImageLoadOptions
- java.lang.Object
-
- io.scanbot.sdk.image.BasicImageLoadOptions
-
public class BasicImageLoadOptions extends java.lang.ObjectBasic options for loading image.
-
-
Constructor Summary
Constructors Constructor Description BasicImageLoadOptions()Constructs BasicImageLoadOptions with default parameters.BasicImageLoadOptions(Rectangle cropRect)Constructs BasicImageLoadOptions with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectanglegetCropRect()Getter for cropRect field.voidsetCropRect(Rectangle cropRect)Setter for cropRect field.
-
-
-
Constructor Detail
-
BasicImageLoadOptions
public BasicImageLoadOptions(Rectangle cropRect)
Constructs BasicImageLoadOptions with the given params.- Parameters:
cropRect- If the rect is not empty, the image will be cropped to this rect before processing.
-
BasicImageLoadOptions
public BasicImageLoadOptions()
Constructs BasicImageLoadOptions with default parameters.
-
-
Method Detail
-
getCropRect
public Rectangle getCropRect()
Getter for cropRect field. See constructor documentation for more information about the field.- Returns:
- cropRect
-
setCropRect
public void setCropRect(Rectangle cropRect)
Setter for cropRect field. See constructor documentation for more information about the field.- Parameters:
cropRect- Value to set.
-
-