Package org.openni

Class CropArea

java.lang.Object
org.openni.CropArea

public class CropArea extends Object
The CropArea object encapsulate cropping information data
  • Constructor Details

    • CropArea

      public CropArea(int originX, int originY, int width, int height)
      The CropArea constructor
      Parameters:
      originX - X coordinate for the cropping
      originY - Y coordinate for the cropping
      width - width cropping value
      height - height cropping value
  • Method Details

    • getOriginX

      public int getOriginX()
      Return X cropping coordinate
      Returns:
      X cropping coordinate
    • getOriginY

      public int getOriginY()
      Return Y cropping coordinate
      Returns:
      Y cropping coordinate
    • getWidth

      public int getWidth()
      Return width cropping value
      Returns:
      width cropping value
    • getHeight

      public int getHeight()
      Return height cropping value
      Returns:
      height cropping value