Class SelectionOverlayConfiguration
- Namespace
- ScanbotSDK.MAUI.RTU.v1
- Assembly
- ScanbotSDK.Shared.dll
public class SelectionOverlayConfiguration
- Inheritance
-
SelectionOverlayConfiguration
- Inherited Members
Constructors
SelectionOverlayConfiguration(bool?, BarcodeTextFormat?, Color, Color, Color, Color, Color, Color, Color, Color)
public SelectionOverlayConfiguration(bool? automaticSelectionEnabled = null, BarcodeTextFormat? overlayFormat = null, Color textColor = null, Color textContainerColor = null, Color strokeColor = null, Color highlightedStrokeColor = null, Color highlightedTextColor = null, Color highlightedTextContainerColor = null, Color polygonBackgroundColor = null, Color polygonBackgroundHighlightedColor = null)
Parameters
automaticSelectionEnabled
bool?overlayFormat
BarcodeTextFormat?textColor
ColortextContainerColor
ColorstrokeColor
ColorhighlightedStrokeColor
ColorhighlightedTextColor
ColorhighlightedTextContainerColor
ColorpolygonBackgroundColor
ColorpolygonBackgroundHighlightedColor
Color
Properties
AutomaticSelectionEnabled
Whether the barcode is selected automatically when being detected or not.
By default - false
.
public bool? AutomaticSelectionEnabled { get; set; }
Property Value
- bool?
Enabled
Whether the barcode selection overlay is enabled or not.
public bool Enabled { get; set; }
Property Value
HighlightedStrokeColor
The stroke color of the polygon in the selection overlay, when highlighted.
public Color HighlightedStrokeColor { get; set; }
Property Value
HighlightedTextColor
The color of the text in the selection overlay, when highlighted.
public Color HighlightedTextColor { get; set; }
Property Value
HighlightedTextContainerColor
The color of the texts background in the selection overlay, when highlighted.
public Color HighlightedTextContainerColor { get; set; }
Property Value
OverlayTextFormat
Define the way of how to show barcode data with selection overlay. By default - [BarcodeOverlayTextFormat.CODE].
public BarcodeTextFormat? OverlayTextFormat { get; set; }
Property Value
PolygonBackgroundColor
The color inside the polygon of the selection overlay.
public Color PolygonBackgroundColor { get; set; }
Property Value
PolygonBackgroundHighlightedColor
The color inside the polygon of the selection overlay, when highlighted.
public Color PolygonBackgroundHighlightedColor { get; set; }
Property Value
StrokeColor
The stroke color of the polygon in the selection overlay.
public Color StrokeColor { get; set; }
Property Value
TextColor
The color of the text in the selection overlay.
public Color TextColor { get; set; }
Property Value
TextContainerColor
The color of the texts background in the selection overlay.
public Color TextContainerColor { get; set; }