Table of Contents

Class BackgroundStyle

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

Appearance of the polygon used for buttons and hint backgrounds.

public class BackgroundStyle
Inheritance
BackgroundStyle
Inherited Members

Properties

FillColor

Polygon color. Default is "#FFFFFF30"

public ColorValue FillColor { get; set; }

Property Value

ColorValue

StrokeColor

Color of the polygon outline. Default is "#FFFFFFFF"

public ColorValue StrokeColor { get; set; }

Property Value

ColorValue

StrokeWidth

Width of the polygon outline in dp. Default is 2.0

public double StrokeWidth { get; set; }

Property Value

double

Methods

FromJson(string)

public static BackgroundStyle FromJson(string rawJson)

Parameters

rawJson string

Returns

BackgroundStyle

FromNative(BackgroundStyle)

public static BackgroundStyle FromNative(BackgroundStyle source)

Parameters

source BackgroundStyle

Returns

BackgroundStyle

ToNative()

public BackgroundStyle ToNative()

Returns

BackgroundStyle