         //
         
         /*
-         let progressTrackPath = UIBezierPath(arcCenter: CGPointMake(CGRectGetMidX(rect), CGRectGetMidY(rect)), radius: radius, startAngle: degrees2Radians(270), endAngle: degrees2Radians(269.99), clockwise: true)
-         progressTrackPath.lineWidth = arcWidth
-         kDefaultProgressTrackColor.setStroke()
-         progressTrackPath.stroke()
-         */
+        let progressTrackPath = UIBezierPath(arcCenter: CGPointMake(CGRectGetMidX(rect), CGRectGetMidY(rect)), radius: radius, startAngle: degrees2Radians(270), endAngle: degrees2Radians(269.99), clockwise: true)
+        progressTrackPath.lineWidth = arcWidth
+        kDefaultProgressTrackColor.setStroke()
+        progressTrackPath.stroke()
+        */
         
         func progressArc() -> CGPath {
-            return UIBezierPath(arcCenter: CGPoint(x: rect.midX, y: rect.midY), radius: radius, startAngle: d2R(270), endAngle: d2R(269.99), clockwise: true).cgPath
+            return UIBezierPath(arcCenter: CGPoint(x: rect.midX, y: rect.midY), radius: radius, startAngle: d2R(degrees: 270), endAngle: d2R(degrees: 269.99), clockwise: true).cgPath
         }
         
         progressTrackShapeLayer.path = progressArc()


private let kInnerRadiusScaleFactor = CGFloat(0.05)

@IBDesignable open class SVGPlayButton: UIButton {
    
    @IBInspectable open var playing: Bool = false {
        didSet {
            if playing {
                presentForPlaying()

        let pauseLineWidth  = rect.width * 0.0714
        
        enum PauseLinePosition {
            case Left
            case Right
        }
        
        func pauseLine(position: PauseLinePosition) -> UIBezierPath {
            
            let pauseLineRectY = (bounds.height/2) - (pauseLineHeight * 0.5)
            var pauseLineRect = CGRect(x: 0, y: pauseLineRectY, width: pauseLineWidth, height: pauseLineHeight)
            
            if position == .Left {
                let pauseLineRectX = (bounds.width / 2) - (pauseLineWidth * 0.5) - (pauseLineWidth * 1.25)
                pauseLineRect.origin.x = pauseLineRectX
            }
            
            if position == .Right {
                let pauseLineRectX = (bounds.width / 2) - (pauseLineWidth * 0.5) + (pauseLineWidth * 1.25)
                pauseLineRect.origin.x = pauseLineRectX
            }
