FieldBoundingBox Class

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

public final class FieldBoundingBox

Quadrangle bounding box, with coordinates specified relative to the top-left of the original image

Constructor Summary

Constructor Description
FieldBoundingBox(List<Point> points)

Constructs a Field Bounding box object.

Method Summary

Modifier and Type Method and Description
List<Point> getPoints()

Gets the list of all point coordinates of the bounding box.

String toString()

Returns a string representation of the FieldBoundingBox.

Methods inherited from java.lang.Object

Constructor Details

FieldBoundingBox

public FieldBoundingBox(List points)

Constructs a Field Bounding box object.

Parameters:

points - The list of coordinates of the field's bounding box.

Method Details

getPoints

public List getPoints()

Gets the list of all point coordinates of the bounding box.

Returns:

The unmodifiable list of all point coordinates of the field's bounding box.

toString

public String toString()

Returns a string representation of the FieldBoundingBox.

Overrides:

FieldBoundingBox.toString()

Returns:

the string representation of the FieldBoundingBox.

Applies to