         }
     }
     
+    @IBInspectable var rotatation: Bool = false {
+        didSet{
+            setup()
+        }
+    }
+    
+    @IBInspectable var spins: Float = 0.0 {
+        didSet{
+            setup()
+        }
+    }
+    
     override var bounds: CGRect {
         get {
             return super.bounds

        mask.path = path.CGPath
        layer.mask = mask
    }
}
    
    func setup(){
        super.layoutSubviews()
        
        if(rotatation){
            rotate()
        }
        
        layer.cornerRadius = bounds.width / roundness
        layer.borderWidth = borderWidth
        layer.borderColor = borderColor.CGColor
