Class StyledText
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class StyledText : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
StyledText
- Implements
-
Constructors
StyledText()
StyledText(JSONObject)
public StyledText(JSONObject json)
Parameters
json
JSONObject
StyledText(bool, string, ScanbotColor, bool)
public StyledText(bool visible, string text, ScanbotColor color, bool useShadow)
Parameters
visible
bool
text
string
color
ScanbotColor
useShadow
bool
StyledText(IDictionary<string, Object>)
public StyledText(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
Text
public string Text { get; set; }
Property Value
- string
UseShadow
public bool UseShadow { get; set; }
Property Value
- bool
Visible
public bool Visible { get; set; }
Property Value
- bool
Methods
Component1()
Returns
- bool
Component2()
public string Component2()
Returns
- string
Component3()
public ScanbotColor Component3()
Returns
- ScanbotColor
Component4()
Returns
- bool
Copy(bool, string, ScanbotColor, bool)
public StyledText Copy(bool visible, string text, ScanbotColor color, bool useShadow)
Parameters
visible
bool
text
string
color
ScanbotColor
useShadow
bool
Returns
- StyledText
Default()
public static StyledText Default()
Returns
- StyledText
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