     return NSColor(red: colorHash["r"]!, green: colorHash["g"]!, blue: colorHash["b"]!, alpha: colorHash["a"]!)
 }
 
-func parseWidth(args: Array<String>) -> CGFloat
-{
-    var widthVal: CGFloat = 4
+func parseStroke(args: Array<String>) -> [String: CGFloat]
+{
+    var strokeHash = [String: CGFloat]()
+    strokeHash["size"] = CGFloat(4)
 
     for arg in args {
         if ((arg.characters.indexOf(":")) != nil) {

    func showOverlayView(args: Array<String>)
    {
        let overlayColor = parseColor(args)
        let overlayWidth = parseWidth(args)
        let overlayFrame = parseFrame(args, strokeWidth: Int(overlayWidth))
        let overlayView = OverlayView(frame: overlayFrame, color: overlayColor, width: overlayWidth)

        window.contentView = overlayView
        window.setFrame(NSRectToCGRect(overlayFrame), display: true)


            switch key {
            case "s", "stroke":
                strokeHash["size"] = CGFloat(floatVal!)
                break
            case "rad":
                strokeHash["rad"] = CGFloat(floatVal!)
                break
            default:
                break
