SBSDKBarcodeTrackedViewPolygonStyle

@objcMembers
public class SBSDKBarcodeTrackedViewPolygonStyle : NSObject

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

  • Turns polygon drawing on or off.

    Declaration

    Swift

    public var polygonDrawingEnabled: Bool
  • The color of the barcode polygon when not selected.

    Declaration

    Swift

    public var polygonColor: UIColor
  • The color of the barcode polygon when selected.

    Declaration

    Swift

    public var polygonSelectedColor: UIColor
  • The color of the barcode polygon’s background when not selected.

    Declaration

    Swift

    public var polygonBackgroundColor: UIColor
  • The color of the barcode polygon’s background when selected.

    Declaration

    Swift

    public var polygonBackgroundSelectedColor: UIColor
  • The width of the border around the barcode polygon.

    Declaration

    Swift

    public var borderWidth: CGFloat
  • The corner radius of the border around the barcode polygon.

    Declaration

    Swift

    public var cornerRadius: CGFloat