Class PolygonHelper
- Namespace
- IO.Scanbot.Sdk.Util
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class PolygonHelper : Object
- Inheritance
-
PolygonHelper
Constructors
PolygonHelper()
Properties
FullPolygon
public static IList<PointF> FullPolygon { get; }
Property Value
- IList<PointF>
FullPolygonСCW
public static IList<PointF> FullPolygonСCW { get; }
Property Value
- IList<PointF>
Methods
ApproximatePolygonAspectRatio(IList<PointF>, int, int, int)
public static float ApproximatePolygonAspectRatio(IList<PointF> polygon, int frameWidth, int frameHeight, int frameOrientation)
Parameters
polygon IList<PointF>
frameWidth int
frameHeight int
frameOrientation int
Returns
- float
RotatePolygon(IList<PointF>, float)
public static IList<PointF> RotatePolygon(IList<PointF> polygon, float rotation)
Parameters
polygon IList<PointF>
rotation float
Returns
- IList<PointF>