Table of Contents

Class ForegroundStyle

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll

Configuration of the appearance for foreground elements (e.g. text and/or icons, etc).

public class ForegroundStyle
Inheritance
ForegroundStyle
Inherited Members

Properties

Color

The color used for foreground elements. Default is "#FFFFFF"

public ColorValue Color { get; set; }

Property Value

ColorValue

IconVisible

Determines whether the icon is visible or not. Default is true

public bool IconVisible { get; set; }

Property Value

bool

UseShadow

Determines whether to use drop shadows for foreground elements. Default is false

public bool UseShadow { get; set; }

Property Value

bool

Methods

FromJson(string)

public static ForegroundStyle FromJson(string rawJson)

Parameters

rawJson string

Returns

ForegroundStyle