Class ImagePoint
java.lang.Object
com.azure.ai.vision.imageanalysis.models.ImagePoint
Represents the coordinates of a single pixel in the image.
-
Method Summary
Modifier and TypeMethodDescriptionintgetX()Get the x property: The horizontal x-coordinate of this point, in pixels.intgetY()Get the y property: The vertical y-coordinate of this point, in pixels.toString()Returns a compact string containing the image point values in a style suitable for printing.
-
Method Details
-
getX
public int getX()Get the x property: The horizontal x-coordinate of this point, in pixels. Zero values corresponds to the left-most pixels in the image.- Returns:
- the x value.
-
getY
public int getY()Get the y property: The vertical y-coordinate of this point, in pixels. Zero values corresponds to the top-most pixels in the image.- Returns:
- the y value.
-
toString
Returns a compact string containing the image point values in a style suitable for printing.
-