Coordinate Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Coordinate
- com.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java