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
FillColor
Polygon color. Default is "#FFFFFF30"
public ColorValue FillColor { get; set; }
Property Value
StrokeColor
Color of the polygon outline. Default is "#FFFFFFFF"
public ColorValue StrokeColor { get; set; }
Property Value
StrokeWidth
Width of the polygon outline in dp. Default is 2.0
public double StrokeWidth { get; set; }
Property Value
Methods
FromJson(string)
public static PolygonStyle FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(PolygonStyle)
public static PolygonStyle FromNative(PolygonStyle source)
Parameters
source
PolygonStyle
Returns
ToNative()
public PolygonStyle ToNative()