Table of Contents

Class PolygonHelper.Companion

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

Constructors

Companion(DefaultConstructorMarker)

[Register(".ctor", "(Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "")]
public Companion(DefaultConstructorMarker _constructor_marker)

Parameters

_constructor_marker DefaultConstructorMarker

Properties

FullPolygon

public IList<PointF> FullPolygon { get; }

Property Value

IList<PointF>

Methods

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

[Register("approximatePolygonAspectRatio", "(Ljava/util/List;III)F", "")]
public 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 IList<PointF> RotatePolygon(IList<PointF> polygon, float rotation)

Parameters

polygon IList<PointF>
rotation float

Returns

IList<PointF>