PointF Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. PointF
- com.
public final class PointF
Represents a point with float-precision x and y coordinates. Used by DocumentSource to define polygon vertices in document coordinate space.
Constructor Summary
| Constructor | Description |
|---|---|
| PointF(float x, float y) |
Creates a new PointF. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| boolean | equals(Object obj) |
| float |
getX()
Gets the x-coordinate. |
| float |
getY()
Gets the y-coordinate. |
| int | hashCode() |
| String | toString() |
Methods inherited from java.lang.Object
Constructor Details
PointF
public PointF(float x, float y)
Creates a new PointF.
Parameters:
Method Details
equals
public boolean equals(Object obj)
Overrides:
PointF.equals(Object obj)Parameters:
getX
public float getX()
Gets the x-coordinate.
Returns:
getY
public float getY()
Gets the y-coordinate.
Returns:
hashCode
public int hashCode()
Overrides:
PointF.hashCode()toString
public String toString()
Overrides:
PointF.toString()