Table of Contents

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

ColorValue

SbColorNegative

Color used to convey a negative meaning. Default is "#FF3737"

public ColorValue SbColorNegative { get; set; }

Property Value

ColorValue

SbColorOnPrimary

Color used for displaying elements on top of the primary color. Default is "#FFFFFF"

public ColorValue SbColorOnPrimary { get; set; }

Property Value

ColorValue

SbColorOnSecondary

Color used for displaying elements on top of the secondary color. Default is "#C8193C"

public ColorValue SbColorOnSecondary { get; set; }

Property Value

ColorValue

SbColorOnSurface

Color used on top of surfaces. Default is "#000000"

public ColorValue SbColorOnSurface { get; set; }

Property Value

ColorValue

SbColorOnSurfaceVariant

Alternative color used on top of surfaces. Default is "#707070"

public ColorValue SbColorOnSurfaceVariant { get; set; }

Property Value

ColorValue

SbColorOutline

Color used for outlines. Default is "#EFEFEF"

public ColorValue SbColorOutline { get; set; }

Property Value

ColorValue

SbColorPositive

Color used to convey a positive meaning. Default is "#4EFFB4"

public ColorValue SbColorPositive { get; set; }

Property Value

ColorValue

SbColorPrimary

Primary color used for enabled elements. Default is "#C8193C"

public ColorValue SbColorPrimary { get; set; }

Property Value

ColorValue

SbColorPrimaryDisabled

Primary color used for disabled elements. Default is "#F5F5F5"

public ColorValue SbColorPrimaryDisabled { get; set; }

Property Value

ColorValue

SbColorSecondary

Secondary color used for enabled elements. Default is "#FFEDEE"

public ColorValue SbColorSecondary { get; set; }

Property Value

ColorValue

SbColorSecondaryDisabled

Secondary color used for disabled elements. Default is "#F5F5F5"

public ColorValue SbColorSecondaryDisabled { get; set; }

Property Value

ColorValue

SbColorSurface

Color used for surfaces. Default is "#FFFFFF"

public ColorValue SbColorSurface { get; set; }

Property Value

ColorValue

SbColorSurfaceHigh

Transparent color with a high alpha value used for certain surfaces. Default is "#0000007A"

public ColorValue SbColorSurfaceHigh { get; set; }

Property Value

ColorValue

SbColorSurfaceLow

Transparent color with a low alpha value used for certain surfaces. Default is "#00000026"

public ColorValue SbColorSurfaceLow { get; set; }

Property Value

ColorValue

SbColorWarning

Color used to convey warnings. Default is "#FFCE5C"

public ColorValue SbColorWarning { get; set; }

Property Value

ColorValue

Methods

FromJson(string)

public static Palette FromJson(string rawJson)

Parameters

rawJson string

Returns

Palette

FromNative(Palette)

public static Palette FromNative(Palette source)

Parameters

source Palette

Returns

Palette

ToNative()

public Palette ToNative()

Returns

Palette