Scandit Icon Builder
Defined in namespace Scandit.DataCapture.Core.UI
- ScanditIconBuilder
class ScanditIconBuilder
Added in version 7.2.0
Use this object to construct instances of ScanditIcon.
- ScanditIconBuilder()
ScanditIconBuilder()
Added in version 7.2.0
Creates a new instance of the builder.
- WithIcon()
ScanditIconBuilder WithIcon(ScanditIconType iconType)
Added in version 7.2.0
Sets the icon.
- WithIconColor()
ScanditIconBuilder WithIconColor(UIColor iconColor)
Added in version 7.2.0
Sets the color of the icon.
- WithBackgroundColor()
ScanditIconBuilder WithBackgroundColor(UIColor backgroundColor)
Added in version 7.2.0
Sets the color applied to the icon’s background.
- WithBackgroundStrokeColor()
ScanditIconBuilder WithBackgroundStrokeColor(UIColor backgroundStrokeColor)
Added in version 7.2.0
Sets the color of the stroke applied to the icon’s background.
- WithBackgroundStrokeWidth()
ScanditIconBuilder WithBackgroundStrokeWidth(
float
backgroundStrokeWidth)Added in version 7.2.0
Sets the width of the stroke applied to the icon’s background.
- WithBackgroundShape()
ScanditIconBuilder WithBackgroundShape(ScanditIconShape backgroundShape)
Added in version 7.2.0
Sets the icon’s background shape.
- Build()
ScanditIcon Build()
Added in version 7.2.0
Constructs a ScanditIcon with the properties set on the builder.