Table of Contents

Class EdgeInsets

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/common/EdgeInsets", DoNotGenerateAcw = true)]
public sealed class EdgeInsets : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
EdgeInsets
Implements
Inherited Members

Constructors

EdgeInsets()

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

EdgeInsets(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public EdgeInsets(JSONObject json)

Parameters

json JSONObject

EdgeInsets(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public EdgeInsets(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

EdgeInsets(double, double, double, double)

[Register(".ctor", "(DDDD)V", "")]
public EdgeInsets(double top, double left, double bottom, double right)

Parameters

top double
left double
bottom double
right double

Properties

Bottom

public double Bottom { get; set; }

Property Value

double

Creator

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

Property Value

IParcelableCreator

Left

public double Left { get; set; }

Property Value

double

Right

public double Right { get; set; }

Property Value

double

Top

public double Top { get; set; }

Property Value

double

Methods

Component1()

[Register("component1", "()D", "")]
public double Component1()

Returns

double

Component2()

[Register("component2", "()D", "")]
public double Component2()

Returns

double

Component3()

[Register("component3", "()D", "")]
public double Component3()

Returns

double

Component4()

[Register("component4", "()D", "")]
public double Component4()

Returns

double

Copy(double, double, double, double)

[Register("copy", "(DDDD)Lio/scanbot/sdk/ui_v2/common/EdgeInsets;", "")]
public EdgeInsets Copy(double top, double left, double bottom, double right)

Parameters

top double
left double
bottom double
right double

Returns

EdgeInsets

Default()

[Register("default", "()Lio/scanbot/sdk/ui_v2/common/EdgeInsets;", "")]
public static EdgeInsets Default()

Returns

EdgeInsets

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.

ToJson(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

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.