BoundingRegion Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.models.BoundingRegion

public final class BoundingRegion

Model representing the bounding polygon on a specific page of the input.

Constructor Summary

Constructor Description
BoundingRegion()

Creates a new instance of BoundingRegion.

Method Summary

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

Get the list of coordinates of bounding polygon, or the entire page if not specified.

int getPageNumber()

Get the pageNumber property: 1-based page number of page containing the bounding region.

Methods inherited from java.lang.Object

Constructor Details

BoundingRegion

public BoundingRegion()

Creates a new instance of BoundingRegion.

Method Details

getBoundingPolygon

public List getBoundingPolygon()

Get the list of coordinates of bounding polygon, or the entire page if not specified. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

Returns:

the boundingPolygon value.

getPageNumber

public int getPageNumber()

Get the pageNumber property: 1-based page number of page containing the bounding region.

Returns:

the pageNumber value.

Applies to