Dela via


Point Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.models.Point

public final class Point

Represents the x and y coordinates of a point.

Constructor Summary

Constructor Description
Point(float xCoordinate, float yCoordinate)

Creates a Point object.

Method Summary

Modifier and Type Method and Description
float getX()

Gets the x-coordinate value.

float getY()

Gets the y-coordinate value.

Methods inherited from java.lang.Object

Constructor Details

Point

public Point(float xCoordinate, float yCoordinate)

Creates a Point object.

Parameters:

xCoordinate - The x-axis point coordinate.
yCoordinate - The y-axis point coordinate.

Method Details

getX

public float getX()

Gets the x-coordinate value.

Returns:

The x-axis coordinate value.

getY

public float getY()

Gets the y-coordinate value.

Returns:

The y-axis coordinate value.

Applies to