to top
Datalogic APIs
public static class

SnapOcrRoiSettings.ReferenceRoi

extends Object
java.lang.Object
   ↳ com.datalogic.decode.configuration.SnapOcrRoiSettings.ReferenceRoi

Class Overview

The reference ROI inside of which, all the ROIs are defined.

Summary

Public Constructors
ReferenceRoi(int width, int height)
Default constructor.
Public Methods
int getHeight()
Gets the configured Reference ROI height.
int getWidth()
Gets the configured Reference ROI width.
void setHeight(int height)
Sets the desired Reference ROI height.
void setWidth(int width)
Sets the desired Reference ROI width.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ReferenceRoi (int width, int height)

Added in revision 41

Default constructor.

Parameters
width Reference ROI width (in pixels).
height Reference ROI height (in pixels).

Public Methods

public int getHeight ()

Added in revision 41

Gets the configured Reference ROI height.

Returns
  • The Reference ROI height.

public int getWidth ()

Added in revision 41

Gets the configured Reference ROI width.

Returns
  • The Reference ROI width.

public void setHeight (int height)

Added in revision 41

Sets the desired Reference ROI height.

Parameters
height The desired Reference ROI height.

public void setWidth (int width)

Added in revision 41

Sets the desired Reference ROI width.

Parameters
width The desired Reference ROI width.