Package com.mindee.parsing.standard
Class PositionField
- java.lang.Object
-
- com.mindee.parsing.standard.PositionField
-
- All Implemented Interfaces:
PositionData
public class PositionField extends Object implements PositionData
A detected element in the image.
-
-
Constructor Summary
Constructors Constructor Description PositionField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolygongetBoundingBox()Straight rectangle.PolygongetPolygon()Free polygon with up to 30 vertices.PolygongetQuadrangle()Free polygon with 4 vertices.PolygongetRectangle()Rectangle that may be oriented (can go beyond the canvas).StringtoString()
-
-
-
Method Detail
-
getBoundingBox
public Polygon getBoundingBox()
Straight rectangle.- Specified by:
getBoundingBoxin interfacePositionData
-
getPolygon
public Polygon getPolygon()
Free polygon with up to 30 vertices.- Specified by:
getPolygonin interfacePositionData
-
getQuadrangle
public Polygon getQuadrangle()
Free polygon with 4 vertices.
-
getRectangle
public Polygon getRectangle()
Rectangle that may be oriented (can go beyond the canvas).
-
-