Class BackgroundStyle
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class BackgroundStyle : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
BackgroundStyle
- Implements
-
Constructors
BackgroundStyle()
BackgroundStyle(ScanbotColor, ScanbotColor, double)
public BackgroundStyle(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth)
Parameters
strokeColor
ScanbotColor
fillColor
ScanbotColor
strokeWidth
double
BackgroundStyle(JSONObject)
public BackgroundStyle(JSONObject json)
Parameters
json
JSONObject
BackgroundStyle(IDictionary<string, Object>)
public BackgroundStyle(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
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()
public ScanbotColor Component1()
Returns
- ScanbotColor
Component2()
public ScanbotColor Component2()
Returns
- ScanbotColor
Component3()
public double Component3()
Returns
- double
Copy(ScanbotColor, ScanbotColor, double)
public BackgroundStyle Copy(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth)
Parameters
strokeColor
ScanbotColor
fillColor
ScanbotColor
strokeWidth
double
Returns
- BackgroundStyle
Default()
public static BackgroundStyle Default()
Returns
- BackgroundStyle
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