Table of Contents

Class PolygonHelper.Companion

Namespace
IO.Scanbot.Sdk.Util
Assembly
DocumentSDK.NET.Droid.dll
public sealed class PolygonHelper.Companion : Object
Inheritance
PolygonHelper.Companion

Constructors

Companion(DefaultConstructorMarker)

public Companion(DefaultConstructorMarker _constructor_marker)

Parameters

_constructor_marker DefaultConstructorMarker

Properties

FullPolygon

public IList<PointF> FullPolygon { get; }

Property Value

IList<PointF>

FullPolygonСCW

public IList<PointF> FullPolygonСCW { get; }

Property Value

IList<PointF>

Methods

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

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)

public IList<PointF> RotatePolygon(IList<PointF> polygon, float rotation)

Parameters

polygon IList<PointF>
rotation float

Returns

IList<PointF>