Scandit Icon Builder

Defined in framework ScanditDataCaptureCore

SDCScanditIconBuilder
@interface SDCScanditIconBuilder : NSObject

Added in version 7.1.0

Use this object to construct instances of SDCScanditIcon.

- withIcon:
- (SDCScanditIconBuilder *)withIcon:(nullable SDCScanditIconType)icon

Added in version 7.1.0

Sets the icon.

- withIconColor:
- (SDCScanditIconBuilder *)withIconColor:(nullable UIColor *)color

Added in version 7.1.0

Sets the color of the icon.

- withBackgroundColor:
- (SDCScanditIconBuilder *)withBackgroundColor:(nullable UIColor *)color

Added in version 7.1.0

Sets the color applied to the icon’s background.

- withBackgroundStrokeColor:
- (SDCScanditIconBuilder *)withBackgroundStrokeColor:(nullable UIColor *)color

Added in version 7.1.0

Sets the color of the stroke applied to the icon’s background.

- withBackgroundStrokeWidth:
- (SDCScanditIconBuilder *)withBackgroundStrokeWidth:(CGFloat)width

Added in version 7.1.0

Sets the width of the stroke applied to the icon’s background.

- withBackgroundShape:
- (SDCScanditIconBuilder *)withBackgroundShape:(nullable SDCScanditIconShape)shape

Added in version 7.1.0

Sets the icon’s background shape.

- build
- (SDCScanditIcon *)build

Added in version 7.1.0

Constructs a SDCScanditIcon with the properties set on the builder.