SBSDKScanAndCountPolygonStyle

@objcMembers
public class SBSDKScanAndCountPolygonStyle : NSObject

A class that represents the style of the polygon rendered around a barcode in SBSDKBarcodeScanAndCountViewController.

  • Turns polygon drawing on or off.

    Declaration

    Swift

    public var polygonDrawingEnabled: Bool
  • The color of the barcode polygons outline.

    Declaration

    Swift

    public var polygonColor: UIColor
  • The inner fill color of the barcode polygon.

    Declaration

    Swift

    public var polygonFillColor: UIColor
  • The width of the barcode polygons outline.

    Declaration

    Swift

    public var lineWidth: CGFloat
  • The corner radius of the barcode polygons outline.

    Declaration

    Swift

    public var cornerRadius: CGFloat