FaceRectangle Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. FaceRectangle
- com.
public class FaceRectangle
An object describing face rectangle.
Method Summary
Modifier and Type | Method and 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. |
Face |
withHeight(int height)
Set the height value. |
Face |
withLeft(int left)
Set the left value. |
Face |
withTop(int top)
Set the top value. |
Face |
withWidth(int width)
Set the width value. |
Method Details
height
public int height()
Get the height value.
Returns:
left
public int left()
Get the left value.
Returns:
top
public int top()
Get the top value.
Returns:
width
public int width()
Get the width value.
Returns:
withHeight
public FaceRectangle withHeight(int height)
Set the height value.
Parameters:
Returns:
withLeft
public FaceRectangle withLeft(int left)
Set the left value.
Parameters:
Returns:
withTop
public FaceRectangle withTop(int top)
Set the top value.
Parameters:
Returns:
withWidth
public FaceRectangle withWidth(int width)
Set the width value.
Parameters:
Returns: