BoundingRect Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. BoundingRect
- com.
public class BoundingRect
A bounding box for an area inside an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
h()
Get the h value. |
int |
w()
Get the w value. |
Bounding |
withH(int h)
Set the h value. |
Bounding |
withW(int w)
Set the w value. |
Bounding |
withX(int x)
Set the x value. |
Bounding |
withY(int y)
Set the y value. |
int |
x()
Get the x value. |
int |
y()
Get the y value. |
Method Details
h
public int h()
Get the h value.
Returns:
w
public int w()
Get the w value.
Returns:
withH
public BoundingRect withH(int h)
Set the h value.
Parameters:
Returns:
withW
public BoundingRect withW(int w)
Set the w value.
Parameters:
Returns:
withX
public BoundingRect withX(int x)
Set the x value.
Parameters:
Returns:
withY
public BoundingRect withY(int y)
Set the y value.
Parameters:
Returns:
x
public int x()
Get the x value.
Returns:
y
public int y()
Get the y value.
Returns:
Applies to
Azure SDK for Java