Class Palette
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Value palette describing the colors of the scanner screens.
public class Palette
- Inheritance
-
Palette
- Inherited Members
Properties
SbColorModalOverlay
Transparent color with a very high alpha value used to fill certain overlays. Default is "#000000A3"
public ColorValue SbColorModalOverlay { get; set; }
Property Value
SbColorNegative
Color used to convey a negative meaning. Default is "#FF3737"
public ColorValue SbColorNegative { get; set; }
Property Value
SbColorOnPrimary
Color used for displaying elements on top of the primary color. Default is "#FFFFFF"
public ColorValue SbColorOnPrimary { get; set; }
Property Value
SbColorOnSecondary
Color used for displaying elements on top of the secondary color. Default is "#C8193C"
public ColorValue SbColorOnSecondary { get; set; }
Property Value
SbColorOnSurface
Color used on top of surfaces. Default is "#000000"
public ColorValue SbColorOnSurface { get; set; }
Property Value
SbColorOnSurfaceVariant
Alternative color used on top of surfaces. Default is "#707070"
public ColorValue SbColorOnSurfaceVariant { get; set; }
Property Value
SbColorOutline
Color used for outlines. Default is "#EFEFEF"
public ColorValue SbColorOutline { get; set; }
Property Value
SbColorPositive
Color used to convey a positive meaning. Default is "#4EFFB4"
public ColorValue SbColorPositive { get; set; }
Property Value
SbColorPrimary
Primary color used for enabled elements. Default is "#C8193C"
public ColorValue SbColorPrimary { get; set; }
Property Value
SbColorPrimaryDisabled
Primary color used for disabled elements. Default is "#F5F5F5"
public ColorValue SbColorPrimaryDisabled { get; set; }
Property Value
SbColorSecondary
Secondary color used for enabled elements. Default is "#FFEDEE"
public ColorValue SbColorSecondary { get; set; }
Property Value
SbColorSecondaryDisabled
Secondary color used for disabled elements. Default is "#F5F5F5"
public ColorValue SbColorSecondaryDisabled { get; set; }
Property Value
SbColorSurface
Color used for surfaces. Default is "#FFFFFF"
public ColorValue SbColorSurface { get; set; }
Property Value
SbColorSurfaceHigh
Transparent color with a high alpha value used for certain surfaces. Default is "#0000007A"
public ColorValue SbColorSurfaceHigh { get; set; }
Property Value
SbColorSurfaceLow
Transparent color with a low alpha value used for certain surfaces. Default is "#00000026"
public ColorValue SbColorSurfaceLow { get; set; }
Property Value
SbColorWarning
Color used to convey warnings. Default is "#FFCE5C"
public ColorValue SbColorWarning { get; set; }
Property Value
Methods
FromJson(string)
public static Palette FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(Palette)
public static Palette FromNative(Palette source)
Parameters
source
Palette
Returns
ToNative()
public Palette ToNative()