Table of Contents

Class PolygonViewHelper.Line

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

Constructors

Line()

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

Line(nint, JniHandleOwnership)

protected Line(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

A

[Register("a")]
public double A { get; set; }

Property Value

double

B

[Register("b")]
public double B { get; set; }

Property Value

double

C

[Register("c")]
public double C { get; set; }

Property Value

double

D

[Register("d")]
public PointF D { get; set; }

Property Value

PointF

Methods

CalculateLine(PointF, PointF)

[Register("calculateLine", "(Landroid/graphics/PointF;Landroid/graphics/PointF;)V", "GetCalculateLine_Landroid_graphics_PointF_Landroid_graphics_PointF_Handler")]
public virtual void CalculateLine(PointF start, PointF end)

Parameters

start PointF
end PointF

GetDistanceToPoint(PointF)

[Register("getDistanceToPoint", "(Landroid/graphics/PointF;)D", "GetGetDistanceToPoint_Landroid_graphics_PointF_Handler")]
public virtual double GetDistanceToPoint(PointF point)

Parameters

point PointF

Returns

double

GetIntersectionPoint(Line)

[Register("getIntersectionPoint", "(Lio/scanbot/sdk/util/view/PolygonViewHelper$Line;)Landroid/graphics/PointF;", "GetGetIntersectionPoint_Lio_scanbot_sdk_util_view_PolygonViewHelper_Line_Handler")]
public virtual PointF GetIntersectionPoint(PolygonViewHelper.Line line)

Parameters

line PolygonViewHelper.Line

Returns

PointF