Compartir a través de


FaceRectangle Clase

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

public class FaceRectangle

Objeto que describe el rectángulo facial.

Resumen del método

Modificador y tipo Método y descripción
int height()

Obtenga el valor de alto.

int left()

Obtenga el valor izquierdo.

int top()

Obtenga el valor superior.

int width()

Obtenga el valor de ancho.

FaceRectangle withHeight(int height)

Establezca el valor de alto.

FaceRectangle withLeft(int left)

Establezca el valor izquierdo.

FaceRectangle withTop(int top)

Establezca el valor superior.

FaceRectangle withWidth(int width)

Establezca el valor de ancho.

Detalles del método

height

public int height()

Obtenga el valor de alto.

Returns:

el valor de alto

left

public int left()

Obtenga el valor izquierdo.

Returns:

el valor izquierdo

top

public int top()

Obtenga el valor superior.

Returns:

el valor superior

width

public int width()

Obtenga el valor de ancho.

Returns:

el valor de ancho

withHeight

public FaceRectangle withHeight(int height)

Establezca el valor de alto.

Parameters:

height - el valor de alto que se va a establecer

Returns:

el propio objeto FaceRectangle.

withLeft

public FaceRectangle withLeft(int left)

Establezca el valor izquierdo.

Parameters:

left - el valor izquierdo que se va a establecer

Returns:

el propio objeto FaceRectangle.

withTop

public FaceRectangle withTop(int top)

Establezca el valor superior.

Parameters:

top - el valor superior que se va a establecer

Returns:

el propio objeto FaceRectangle.

withWidth

public FaceRectangle withWidth(int width)

Establezca el valor de ancho.

Parameters:

width - el valor de ancho que se va a establecer

Returns:

el propio objeto FaceRectangle.

Se aplica a