Class BoundingRect
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.BoundingRect
-
public class BoundingRect extends Object
A bounding box for an area inside an image.
-
-
Constructor Summary
Constructors Constructor Description BoundingRect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
h()
Get the h value.int
w()
Get the w value.BoundingRect
withH(int h)
Set the h value.BoundingRect
withW(int w)
Set the w value.BoundingRect
withX(int x)
Set the x value.BoundingRect
withY(int y)
Set the y value.int
x()
Get the x value.int
y()
Get the y value.
-
-
-
Method Detail
-
x
public int x()
Get the x value.- Returns:
- the x value
-
withX
public BoundingRect withX(int x)
Set the x value.- Parameters:
x
- the x value to set- Returns:
- the BoundingRect object itself.
-
y
public int y()
Get the y value.- Returns:
- the y value
-
withY
public BoundingRect withY(int y)
Set the y value.- Parameters:
y
- the y value to set- Returns:
- the BoundingRect object itself.
-
w
public int w()
Get the w value.- Returns:
- the w value
-
withW
public BoundingRect withW(int w)
Set the w value.- Parameters:
w
- the w value to set- Returns:
- the BoundingRect object itself.
-
h
public int h()
Get the h value.- Returns:
- the h value
-
withH
public BoundingRect withH(int h)
Set the h value.- Parameters:
h
- the h value to set- Returns:
- the BoundingRect object itself.
-
-