setROI method

dynamic setROI(
  1. double x,
  2. double y,
  3. double width,
  4. double height
)

Implementation

setROI(double x, double y, double width, double height) {
  roiX = x;
  roiY = y;
  roiWidth = width;
  roiHeight = height;
}