IdFrameStrokeStyle

public struct IdFrameStrokeStyle

Defines a stroke style to apply to the government id frame

  • Width to apply to the frame stroke, defaults to 4.0

    Declaration

    Swift

    public let width: CGFloat
  • Color to apply to the frame stroke, defaults to white

    Declaration

    Swift

    public let color: UIColor
  • Corner radius to apply to the frame, defaults to 8.0

    Declaration

    Swift

    public let cornerRadius: CGFloat
  • Undocumented

    Declaration

    Swift

    public init(width: CGFloat = 4.0, color: UIColor = .white, cornerRadius: CGFloat = 8.0)