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

{
    let borderColor: NSColor
    let lineWidth: CGFloat
    init(frame: NSRect, color: NSColor, width: CGFloat)
    {
        borderColor = color
        lineWidth = width
        super.init(frame: frame)
    }


    override func drawRect(rect: NSRect)
    {
        colorclear.setFill()
        let bpath:NSBezierPath = NSBezierPath(roundedRect: rect, xRadius:lineRadius, yRadius:lineRadius)

        borderColor.set()
        bpath.lineWidth = lineWidth
