Table of Contents

Class ResultPoint

Namespace
IO.Scanbot.Sdk.Barcode.Entity
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/barcode/entity/ResultPoint", DoNotGenerateAcw = true)]
public sealed class ResultPoint : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ResultPoint
Implements
Inherited Members

Constructors

ResultPoint(float, float)

[Register(".ctor", "(FF)V", "")]
public ResultPoint(float x, float y)

Parameters

x float
y float

Properties

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Methods

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Distance(ResultPoint, ResultPoint)

[Register("distance", "(Lio/scanbot/sdk/barcode/entity/ResultPoint;Lio/scanbot/sdk/barcode/entity/ResultPoint;)F", "")]
public static float Distance(ResultPoint pattern1, ResultPoint pattern2)

Parameters

pattern1 ResultPoint
pattern2 ResultPoint

Returns

float

Distance(float, float, float, float)

[Register("distance", "(FFFF)F", "")]
public static float Distance(float aX, float aY, float bX, float bY)

Parameters

aX float
aY float
bX float
bY float

Returns

float

GetX()

[Register("getX", "()F", "")]
public float GetX()

Returns

float

GetY()

[Register("getY", "()F", "")]
public float GetY()

Returns

float

OrderBestPatterns(ResultPoint[])

[Register("orderBestPatterns", "([Lio/scanbot/sdk/barcode/entity/ResultPoint;)V", "")]
public static void OrderBestPatterns(ResultPoint[] patterns)

Parameters

patterns ResultPoint[]

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.