Class FaceRectangle
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.FaceRectangle
-
public class FaceRectangle extends Object
An object describing face rectangle.
-
-
Constructor Summary
Constructors Constructor Description FaceRectangle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
height()
Get the height value.int
left()
Get the left value.int
top()
Get the top value.int
width()
Get the width value.FaceRectangle
withHeight(int height)
Set the height value.FaceRectangle
withLeft(int left)
Set the left value.FaceRectangle
withTop(int top)
Set the top value.FaceRectangle
withWidth(int width)
Set the width value.
-
-
-
Method Detail
-
left
public int left()
Get the left value.- Returns:
- the left value
-
withLeft
public FaceRectangle withLeft(int left)
Set the left value.- Parameters:
left
- the left value to set- Returns:
- the FaceRectangle object itself.
-
top
public int top()
Get the top value.- Returns:
- the top value
-
withTop
public FaceRectangle withTop(int top)
Set the top value.- Parameters:
top
- the top value to set- Returns:
- the FaceRectangle object itself.
-
width
public int width()
Get the width value.- Returns:
- the width value
-
withWidth
public FaceRectangle withWidth(int width)
Set the width value.- Parameters:
width
- the width value to set- Returns:
- the FaceRectangle object itself.
-
height
public int height()
Get the height value.- Returns:
- the height value
-
withHeight
public FaceRectangle withHeight(int height)
Set the height value.- Parameters:
height
- the height value to set- Returns:
- the FaceRectangle object itself.
-
-