     }
 
 
+    /// Top Border's Separator Color
+    ///
+    open var topBorderColor = UIColor.darkGray
+
+
 
     // MARK: - Initializers
 

        static let edgesSpacing = CGFloat(10)
        static let fixedLeftPadding = CGFloat(10)
        static let stackViewSpacing = CGFloat(7)
    }
}

    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        fatalError("init(coder:) has not been implemented")
    }



    // MARK: - Drawing!

    open override func draw(_ rect: CGRect) {
        super.draw(rect)

        guard let context = UIGraphicsGetCurrentContext() else {
            return
        }

        // Setup the Context
        let scale = UIScreen.main.scale
        let lineWidthInPoints = Constants.topBorderHeightInPixels / scale

        context.clear(rect)
        context.setShouldAntialias(false)
        context.setLineWidth(lineWidthInPoints)

        // Background
        let bgColor = backgroundColor ?? .white
        bgColor.setFill()
        context.fill(rect)

        // Top Separator
        topBorderColor.setStroke()

        context.move(to: CGPoint(x: 0, y: lineWidthInPoints))
        context.addLine(to: CGPoint(x: bounds.maxX, y: lineWidthInPoints))
        context.strokePath()
    }


