-
public class PolygonHelper.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PolygonHelper.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ArrayList<PointF>getFullPolygon()Provide Polygon, covering whole image {(0,0), (0,1), (1,1), (1,0)} final List<PointF>rotatePolygon(List<PointF> polygon, Float rotation)Rotate polygon final FloatapproximatePolygonAspectRatio(List<PointF> polygon, Integer frameWidth, Integer frameHeight, Integer frameOrientation)Approximate polygon aspect ratio -
-
Method Detail
-
getFullPolygon
final ArrayList<PointF> getFullPolygon()
Provide Polygon, covering whole image {(0,0), (0,1), (1,1), (1,0)}
-
-
-
-