# Class VisionPoint

java.lang.Object
com.codename1.ai.vision.VisionPoint

public final class VisionPoint extends Object
Immutable point in a normalized, top-left-origin coordinate space. X grows right and Y grows down; 0 and 1 correspond to image edges, independent of source pixel dimensions.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VisionPoint(float x, float y)`
  Creates a point in the oriented input image's top-left coordinate space.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float`
  `getX()`
  `float`
  `getY()`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VisionPoint

    public VisionPoint(float x, float y)
    Creates a point in the oriented input image's top-left coordinate space.
    Parameters:
      `x` - horizontal coordinate
      `y` - vertical coordinate

- ## Method Details

  - ### getX

    public float getX()
    Returns:
      horizontal coordinate normalized to the oriented input width

  - ### getY

    public float getY()
    Returns:
      downward vertical coordinate normalized to input height