Coordinate Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.Coordinate

public class Coordinate

Coordinates within an image.

Method Summary

Modifier and Type Method and Description
Coordinate withX(double x)

Set the x value.

Coordinate withY(double y)

Set the y value.

double x()

Get the x value.

double y()

Get the y value.

Method Details

withX

public Coordinate withX(double x)

Set the x value.

Parameters:

x - the x value to set

Returns:

the Coordinate object itself.

withY

public Coordinate withY(double y)

Set the y value.

Parameters:

y - the y value to set

Returns:

the Coordinate object itself.

x

public double x()

Get the x value.

Returns:

the x value

y

public double y()

Get the y value.

Returns:

the y value

Applies to