Class BaseViewFinderConfiguration
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
[JsonPolymorphic(TypeDiscriminatorPropertyName = "_type")]
[JsonDerivedType(typeof(ViewFinderConfiguration), "ViewFinderConfiguration")]
[JsonDerivedType(typeof(PermanentViewFinderConfiguration), "PermanentViewFinderConfiguration")]
public class BaseViewFinderConfiguration
- Inheritance
-
BaseViewFinderConfiguration
- Derived
-
- Inherited Members
-
Constructors
BaseViewFinderConfiguration()
public BaseViewFinderConfiguration()
Properties
AspectRatio
public AspectRatio AspectRatio { get; set; }
Property Value
- AspectRatio
MinimumInsets
public EdgeInsets MinimumInsets { get; set; }
Property Value
- EdgeInsets
OverlayColor
public ColorValue OverlayColor { get; set; }
Property Value
- ColorValue
PreferredHeight
public double PreferredHeight { get; set; }
Property Value
- double
Style
public FinderStyle Style { get; set; }
Property Value
- FinderStyle
Methods
FromJson(string)
public static BaseViewFinderConfiguration FromJson(string rawJson)
Parameters
rawJson
string
Returns
- BaseViewFinderConfiguration
FromNative(BaseViewFinderConfiguration)
public static BaseViewFinderConfiguration FromNative(BaseViewFinderConfiguration source)
Parameters
source
BaseViewFinderConfiguration
Returns
- BaseViewFinderConfiguration
FromNative(SBSDKUI2BaseViewFinderConfiguration)
public static BaseViewFinderConfiguration FromNative(SBSDKUI2BaseViewFinderConfiguration source)
Parameters
source
SBSDKUI2BaseViewFinderConfiguration
Returns
- BaseViewFinderConfiguration
ToNative()
public abstract BaseViewFinderConfiguration ToNative()
Returns
- BaseViewFinderConfiguration