Table of Contents

Class PolygonHelper

Namespace
IO.Scanbot.Sdk.Util
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/util/PolygonHelper", DoNotGenerateAcw = true)]
public sealed class PolygonHelper : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PolygonHelper
Implements
Inherited Members

Constructors

PolygonHelper()

[Register(".ctor", "()V", "")]
public PolygonHelper()

Properties

FullPolygon

public static IList<PointF> FullPolygon { get; }

Property Value

IList<PointF>

Methods

ApproximatePolygonAspectRatio(IList<PointF>, int, int, int)

[Register("approximatePolygonAspectRatio", "(Ljava/util/List;III)F", "")]
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)

[Register("rotatePolygon", "(Ljava/util/List;F)Ljava/util/List;", "")]
public static IList<PointF> RotatePolygon(IList<PointF> polygon, float rotation)

Parameters

polygon IList<PointF>
rotation float

Returns

IList<PointF>