                 border.lineWidth = borderWidth;
                 border.path = path
                 border.position = positionBorder(border: border)
+                switch self.borderStyle {
+                    case borderStyleType.over:
+                        border.zPosition = self.zPosition + 1
+                        break
+                    default:
+                        border.zPosition = self.zPosition - 1
+                }
+                
                 addChild(border)
                 
                 self.border = border

    var borderColor: UIColor = UIColor.black
    var borderWidth: CGFloat = 7.0
    var borderOffset : CGPoint = CGPoint(x: 0, y: 0)
    
    var outlinedText: String! {
        didSet { drawText() }

    
    required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) }
    
    override init() { super.init() }
    
    init(fontNamed fontName: String!, fontSize: CGFloat) {
        super.init(fontNamed: fontName)
