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 Polygon
getBoundingBox()
Straight rectangle.Polygon
getPolygon()
Free polygon with up to 30 vertices.Polygon
getQuadrangle()
Free polygon with 4 vertices.Polygon
getRectangle()
Rectangle that may be oriented (can go beyond the canvas).String
toString()
-
-
-
Method Detail
-
getBoundingBox
public Polygon getBoundingBox()
Straight rectangle.- Specified by:
getBoundingBox
in interfacePositionData
-
getPolygon
public Polygon getPolygon()
Free polygon with up to 30 vertices.- Specified by:
getPolygon
in interfacePositionData
-
getQuadrangle
public Polygon getQuadrangle()
Free polygon with 4 vertices.
-
getRectangle
public Polygon getRectangle()
Rectangle that may be oriented (can go beyond the canvas).
-
-