Table of Contents

Class ForegroundStyle

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

Constructors

ForegroundStyle()

public ForegroundStyle()

ForegroundStyle(JSONObject)

public ForegroundStyle(JSONObject json)

Parameters

json JSONObject

ForegroundStyle(bool, ScanbotColor, bool)

public ForegroundStyle(bool iconVisible, ScanbotColor color, bool useShadow)

Parameters

iconVisible bool
color ScanbotColor
useShadow bool

ForegroundStyle(IDictionary<string, Object>)

public ForegroundStyle(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

Color

public ScanbotColor Color { get; set; }

Property Value

ScanbotColor

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

IconVisible

public bool IconVisible { get; set; }

Property Value

bool

UseShadow

public bool UseShadow { get; set; }

Property Value

bool

Methods

Component1()

public bool Component1()

Returns

bool

Component2()

public ScanbotColor Component2()

Returns

ScanbotColor

Component3()

public bool Component3()

Returns

bool

Copy(bool, ScanbotColor, bool)

public ForegroundStyle Copy(bool iconVisible, ScanbotColor color, bool useShadow)

Parameters

iconVisible bool
color ScanbotColor
useShadow bool

Returns

ForegroundStyle

Default()

public static ForegroundStyle Default()

Returns

ForegroundStyle

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