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

The corner radius of the polygon in dp. Default is 0.0

public double CornerRadius { get; set; }

Property Value

double

FillColor

The fill color of the polygon. Default is "#FFFFFF30"

public ColorValue FillColor { get; set; }

Property Value

ColorValue

StrokeColor

The color of the polygon outline. Default is "#FFFFFFFF"

public ColorValue StrokeColor { get; set; }

Property Value

ColorValue

StrokeWidth

The 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