Table of Contents

Class BackgroundStyle

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

Constructors

BackgroundStyle()

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

BackgroundStyle(ScanbotColor, ScanbotColor, double)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;D)V", "")]
public BackgroundStyle(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth)

Parameters

strokeColor ScanbotColor
fillColor ScanbotColor
strokeWidth double

BackgroundStyle(JSONObject)

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

Parameters

json JSONObject

BackgroundStyle(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

Properties

Creator

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

Property Value

IParcelableCreator

FillColor

public ScanbotColor FillColor { get; set; }

Property Value

ScanbotColor

StrokeColor

public ScanbotColor StrokeColor { get; set; }

Property Value

ScanbotColor

StrokeWidth

public double StrokeWidth { get; set; }

Property Value

double

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component1()

Returns

ScanbotColor

Component2()

[Register("component2", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component2()

Returns

ScanbotColor

Component3()

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

Returns

double

Copy(ScanbotColor, ScanbotColor, double)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;D)Lio/scanbot/sdk/ui_v2/common/BackgroundStyle;", "")]
public BackgroundStyle Copy(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth)

Parameters

strokeColor ScanbotColor
fillColor ScanbotColor
strokeWidth double

Returns

BackgroundStyle

Default()

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

Returns

BackgroundStyle

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()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

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.