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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java