Table of Contents

Class AspectRatio

Namespace
IO.Scanbot.Sdk.Common
Assembly
DocumentSDK.NET.Droid.dll
public sealed class AspectRatio : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
AspectRatio
Implements

Constructors

AspectRatio()

public AspectRatio()

AspectRatio(JSONObject)

public AspectRatio(JSONObject json)

Parameters

json JSONObject

AspectRatio(IDictionary<string, Object>)

public AspectRatio(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

AspectRatio(double, double)

public AspectRatio(double width, double height)

Parameters

width double
height double

Properties

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Height

public double Height { get; }

Property Value

double

Width

public double Width { get; }

Property Value

double

Methods

Component1()

public double Component1()

Returns

double

Component2()

public double Component2()

Returns

double

Copy(double, double)

public AspectRatio Copy(double width, double height)

Parameters

width double
height double

Returns

AspectRatio

Default()

public static AspectRatio Default()

Returns

AspectRatio

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags