Table of Contents

Class PolygonStyle

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

Configuration of the polygon appearance.

public class PolygonStyle
Inheritance
PolygonStyle
Inherited Members

Properties

CornerRadius

Polygon corner radius in dp. Default is 0.0

public double CornerRadius { get; set; }

Property Value

double

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 PolygonStyle FromJson(string rawJson)

Parameters

rawJson string

Returns

PolygonStyle

FromNative(PolygonStyle)

public static PolygonStyle FromNative(PolygonStyle source)

Parameters

source PolygonStyle

Returns

PolygonStyle

ToNative()

public PolygonStyle ToNative()

Returns

PolygonStyle