Class Palette
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class Palette : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
Palette
- Implements
-
Constructors
Palette()
Palette(ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor)
public Palette(ScanbotColor sbColorPrimary, ScanbotColor sbColorPrimaryDisabled, ScanbotColor sbColorNegative, ScanbotColor sbColorPositive, ScanbotColor sbColorWarning, ScanbotColor sbColorSecondary, ScanbotColor sbColorSecondaryDisabled, ScanbotColor sbColorOnPrimary, ScanbotColor sbColorOnSecondary, ScanbotColor sbColorSurface, ScanbotColor sbColorOutline, ScanbotColor sbColorOnSurfaceVariant, ScanbotColor sbColorOnSurface, ScanbotColor sbColorSurfaceLow, ScanbotColor sbColorSurfaceHigh, ScanbotColor sbColorModalOverlay)
Parameters
sbColorPrimary
ScanbotColor
sbColorPrimaryDisabled
ScanbotColor
sbColorNegative
ScanbotColor
sbColorPositive
ScanbotColor
sbColorWarning
ScanbotColor
sbColorSecondary
ScanbotColor
sbColorSecondaryDisabled
ScanbotColor
sbColorOnPrimary
ScanbotColor
sbColorOnSecondary
ScanbotColor
sbColorSurface
ScanbotColor
sbColorOutline
ScanbotColor
sbColorOnSurfaceVariant
ScanbotColor
sbColorOnSurface
ScanbotColor
sbColorSurfaceLow
ScanbotColor
sbColorSurfaceHigh
ScanbotColor
sbColorModalOverlay
ScanbotColor
Palette(JSONObject)
public Palette(JSONObject json)
Parameters
json
JSONObject
Palette(IDictionary<string, Object>)
public Palette(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
Creator
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
NamedMap
public IDictionary<string, ScanbotColor> NamedMap { get; }
Property Value
- IDictionary<string, ScanbotColor>
SbColorModalOverlay
public ScanbotColor SbColorModalOverlay { get; set; }
Property Value
- ScanbotColor
SbColorNegative
public ScanbotColor SbColorNegative { get; set; }
Property Value
- ScanbotColor
SbColorOnPrimary
public ScanbotColor SbColorOnPrimary { get; set; }
Property Value
- ScanbotColor
SbColorOnSecondary
public ScanbotColor SbColorOnSecondary { get; set; }
Property Value
- ScanbotColor
SbColorOnSurface
public ScanbotColor SbColorOnSurface { get; set; }
Property Value
- ScanbotColor
SbColorOnSurfaceVariant
public ScanbotColor SbColorOnSurfaceVariant { get; set; }
Property Value
- ScanbotColor
SbColorOutline
public ScanbotColor SbColorOutline { get; set; }
Property Value
- ScanbotColor
SbColorPositive
public ScanbotColor SbColorPositive { get; set; }
Property Value
- ScanbotColor
SbColorPrimary
public ScanbotColor SbColorPrimary { get; set; }
Property Value
- ScanbotColor
SbColorPrimaryDisabled
public ScanbotColor SbColorPrimaryDisabled { get; set; }
Property Value
- ScanbotColor
SbColorSecondary
public ScanbotColor SbColorSecondary { get; set; }
Property Value
- ScanbotColor
SbColorSecondaryDisabled
public ScanbotColor SbColorSecondaryDisabled { get; set; }
Property Value
- ScanbotColor
SbColorSurface
public ScanbotColor SbColorSurface { get; set; }
Property Value
- ScanbotColor
SbColorSurfaceHigh
public ScanbotColor SbColorSurfaceHigh { get; set; }
Property Value
- ScanbotColor
SbColorSurfaceLow
public ScanbotColor SbColorSurfaceLow { get; set; }
Property Value
- ScanbotColor
SbColorWarning
public ScanbotColor SbColorWarning { get; set; }
Property Value
- ScanbotColor
Methods
Component1()
public ScanbotColor Component1()
Returns
- ScanbotColor
Component10()
public ScanbotColor Component10()
Returns
- ScanbotColor
Component11()
public ScanbotColor Component11()
Returns
- ScanbotColor
Component12()
public ScanbotColor Component12()
Returns
- ScanbotColor
Component13()
public ScanbotColor Component13()
Returns
- ScanbotColor
Component14()
public ScanbotColor Component14()
Returns
- ScanbotColor
Component15()
public ScanbotColor Component15()
Returns
- ScanbotColor
Component16()
public ScanbotColor Component16()
Returns
- ScanbotColor
Component2()
public ScanbotColor Component2()
Returns
- ScanbotColor
Component3()
public ScanbotColor Component3()
Returns
- ScanbotColor
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 ScanbotColor Component8()
Returns
- ScanbotColor
Component9()
public ScanbotColor Component9()
Returns
- ScanbotColor
Copy(ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor)
public Palette Copy(ScanbotColor sbColorPrimary, ScanbotColor sbColorPrimaryDisabled, ScanbotColor sbColorNegative, ScanbotColor sbColorPositive, ScanbotColor sbColorWarning, ScanbotColor sbColorSecondary, ScanbotColor sbColorSecondaryDisabled, ScanbotColor sbColorOnPrimary, ScanbotColor sbColorOnSecondary, ScanbotColor sbColorSurface, ScanbotColor sbColorOutline, ScanbotColor sbColorOnSurfaceVariant, ScanbotColor sbColorOnSurface, ScanbotColor sbColorSurfaceLow, ScanbotColor sbColorSurfaceHigh, ScanbotColor sbColorModalOverlay)
Parameters
sbColorPrimary
ScanbotColor
sbColorPrimaryDisabled
ScanbotColor
sbColorNegative
ScanbotColor
sbColorPositive
ScanbotColor
sbColorWarning
ScanbotColor
sbColorSecondary
ScanbotColor
sbColorSecondaryDisabled
ScanbotColor
sbColorOnPrimary
ScanbotColor
sbColorOnSecondary
ScanbotColor
sbColorSurface
ScanbotColor
sbColorOutline
ScanbotColor
sbColorOnSurfaceVariant
ScanbotColor
sbColorOnSurface
ScanbotColor
sbColorSurfaceLow
ScanbotColor
sbColorSurfaceHigh
ScanbotColor
sbColorModalOverlay
ScanbotColor
Returns
- Palette
Default()
public static Palette Default()
Returns
- Palette
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