Package org.openni
Class CropArea
java.lang.Object
org.openni.CropArea
The CropArea object encapsulate cropping information data
-
Constructor Summary
ConstructorsConstructorDescriptionCropArea(int originX, int originY, int width, int height) The CropArea constructor -
Method Summary
Modifier and TypeMethodDescriptionintReturn height cropping valueintReturn X cropping coordinateintReturn Y cropping coordinateintgetWidth()Return width cropping value
-
Constructor Details
-
CropArea
public CropArea(int originX, int originY, int width, int height) The CropArea constructor- Parameters:
originX- X coordinate for the croppingoriginY- Y coordinate for the croppingwidth- width cropping valueheight- 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
-