         case .horizontal:
             context?.move(to: CGPoint(x: cutoff, y: offset))
             context?.addLine(to: CGPoint(x: length - cutoff, y: offset))
-            context?.addLine(to: CGPoint(x: length - offset, y: thickness/2))
-            context?.addLine(to: CGPoint(x: length - cutoff, y: thickness - offset))
-            context?.addLine(to: CGPoint(x: cutoff, y: thickness - offset))
-            context?.addLine(to: CGPoint(x: offset, y: thickness/2))
+            context?.addLine(to: CGPoint(x: length - offset, y: breadth/2))
+            context?.addLine(to: CGPoint(x: length - cutoff, y: breadth - offset))
+            context?.addLine(to: CGPoint(x: cutoff, y: breadth - offset))
+            context?.addLine(to: CGPoint(x: offset, y: breadth/2))
             
         case .vertical:
             context?.move(to: CGPoint(x: offset, y: cutoff))
             context?.addLine(to: CGPoint(x: offset, y: length - cutoff))
-            context?.addLine(to: CGPoint(x: thickness/2, y: length - offset))
-            context?.addLine(to: CGPoint(x: thickness - offset, y: length - cutoff))
-            context?.addLine(to: CGPoint(x: thickness - offset, y: cutoff))
-            context?.addLine(to: CGPoint(x: thickness/2, y: offset))
+            context?.addLine(to: CGPoint(x: breadth/2, y: length - offset))
+            context?.addLine(to: CGPoint(x: breadth - offset, y: length - cutoff))
+            context?.addLine(to: CGPoint(x: breadth - offset, y: cutoff))
+            context?.addLine(to: CGPoint(x: breadth/2, y: offset))
         }
 
         context?.closePath()

    }
    
    override var description: String {
        return "\(orientation) > (\(thickness), \(length))"
    }
}


        switch orientation {
        case .horizontal:
            length = w
            breadth = h
        case .vertical:
            length = h
            breadth = w
        }
        
        super.init(frame: frame)
        self.backgroundColor = UIColor.clear
