Jaa


FaceRectangle Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.FaceRectangle

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.

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 Details

height

public int height()

Get the height value.

Returns:

the height value

left

public int left()

Get the left value.

Returns:

the left value

top

public int top()

Get the top value.

Returns:

the top value

width

public int width()

Get the width value.

Returns:

the width value

withHeight

public FaceRectangle withHeight(int height)

Set the height value.

Parameters:

height - the height value to set

Returns:

the FaceRectangle object itself.

withLeft

public FaceRectangle withLeft(int left)

Set the left value.

Parameters:

left - the left value to set

Returns:

the FaceRectangle object itself.

withTop

public FaceRectangle withTop(int top)

Set the top value.

Parameters:

top - the top value to set

Returns:

the FaceRectangle object itself.

withWidth

public FaceRectangle withWidth(int width)

Set the width value.

Parameters:

width - the width value to set

Returns:

the FaceRectangle object itself.

Applies to