     
     @IBInspectable var firstLabelText:String = "Hi"
     
+    @IBInspectable var fontSize:CGFloat = 20
+    
     
     override func drawRect(rect: CGRect) {
         let trianglePath = UIBezierPath()

            y = 0.1 * length
        }
        let firstLabel = UILabel()
        firstLabel.frame = CGRectMake(x, y, length, 20)
        firstLabel.text = firstLabelText
        firstLabel.transform = CGAffineTransformMakeRotation(3*(3.14/2) + (3.14/4))
        firstLabel.backgroundColor = UIColor.brownColor()
        self.addSubview(firstLabel)
    }
    

    case TopRight
    case BottomRight
    case BottomLeft
}

extension UILabel {
    func changeFont(fontSize:CGFloat) {
        font = UIFont(name: "HelveticaNeue-Bold", size: fontSize)
        adjustsFontSizeToFitWidth = true
    }
}