Class ForegroundStyle
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the appearance of foreground elements (e.g. text and/or icons on buttons, etc).
public class ForegroundStyle
- Inheritance
-
ForegroundStyle
- Inherited Members
Properties
Color
Color used for foreground elements. Default is "#FFFFFF"
public ColorValue Color { get; set; }
Property Value
IconVisible
Whether the icon is visible. Default is true
public bool IconVisible { get; set; }
Property Value
UseShadow
Whether to use drop shadows for foreground elements. Default is false
public bool UseShadow { get; set; }
Property Value
Methods
FromJson(string)
public static ForegroundStyle FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(ForegroundStyle)
public static ForegroundStyle FromNative(ForegroundStyle source)
Parameters
source
ForegroundStyle
Returns
ToNative()
public ForegroundStyle ToNative()