Class CroppingScreenConfiguration
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Document.Configuration
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class CroppingScreenConfiguration : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
CroppingScreenConfiguration
- Implements
-
Constructors
CroppingScreenConfiguration()
public CroppingScreenConfiguration()
CroppingScreenConfiguration(ButtonConfiguration, StyledText, ButtonConfiguration, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, CroppingBottomBar)
public CroppingScreenConfiguration(ButtonConfiguration topBarBackButton, StyledText topBarTitle, ButtonConfiguration topBarConfirmButton, ScanbotColor backgroundColor, ScanbotColor croppingHandlerColor, ScanbotColor croppingPolygonColor, ScanbotColor croppingPolygonMagneticLineColor, CroppingBottomBar bottomBar)
Parameters
topBarBackButton
ButtonConfiguration
topBarTitle
StyledText
topBarConfirmButton
ButtonConfiguration
backgroundColor
ScanbotColor
croppingHandlerColor
ScanbotColor
croppingPolygonColor
ScanbotColor
croppingPolygonMagneticLineColor
ScanbotColor
bottomBar
CroppingBottomBar
CroppingScreenConfiguration(JSONObject)
public CroppingScreenConfiguration(JSONObject json)
Parameters
json
JSONObject
CroppingScreenConfiguration(IDictionary<string, Object>)
public CroppingScreenConfiguration(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
BackgroundColor
public ScanbotColor BackgroundColor { get; set; }
Property Value
- ScanbotColor
BottomBar
public CroppingBottomBar BottomBar { get; set; }
Property Value
- CroppingBottomBar
Creator
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
CroppingHandlerColor
public ScanbotColor CroppingHandlerColor { get; set; }
Property Value
- ScanbotColor
CroppingPolygonColor
public ScanbotColor CroppingPolygonColor { get; set; }
Property Value
- ScanbotColor
CroppingPolygonMagneticLineColor
public ScanbotColor CroppingPolygonMagneticLineColor { get; set; }
Property Value
- ScanbotColor
public ButtonConfiguration TopBarBackButton { get; set; }
Property Value
- ButtonConfiguration
public ButtonConfiguration TopBarConfirmButton { get; set; }
Property Value
- ButtonConfiguration
TopBarTitle
public StyledText TopBarTitle { get; set; }
Property Value
- StyledText
Methods
Component1()
public ButtonConfiguration Component1()
Returns
- ButtonConfiguration
Component2()
public StyledText Component2()
Returns
- StyledText
Component3()
public ButtonConfiguration Component3()
Returns
- ButtonConfiguration
Component4()
public ScanbotColor Component4()
Returns
- ScanbotColor
Component5()
public ScanbotColor Component5()
Returns
- ScanbotColor
Component6()
public ScanbotColor Component6()
Returns
- ScanbotColor
Component7()
public ScanbotColor Component7()
Returns
- ScanbotColor
Component8()
public CroppingBottomBar Component8()
Returns
- CroppingBottomBar
Copy(ButtonConfiguration, StyledText, ButtonConfiguration, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, CroppingBottomBar)
public CroppingScreenConfiguration Copy(ButtonConfiguration topBarBackButton, StyledText topBarTitle, ButtonConfiguration topBarConfirmButton, ScanbotColor backgroundColor, ScanbotColor croppingHandlerColor, ScanbotColor croppingPolygonColor, ScanbotColor croppingPolygonMagneticLineColor, CroppingBottomBar bottomBar)
Parameters
topBarBackButton
ButtonConfiguration
topBarTitle
StyledText
topBarConfirmButton
ButtonConfiguration
backgroundColor
ScanbotColor
croppingHandlerColor
ScanbotColor
croppingPolygonColor
ScanbotColor
croppingPolygonMagneticLineColor
ScanbotColor
bottomBar
CroppingBottomBar
Returns
- CroppingScreenConfiguration
Default()
public static CroppingScreenConfiguration Default()
Returns
- CroppingScreenConfiguration
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