     enum Orientation {
         case horizontal
         case vertical
+        case null
     }
-    
-    /// How 'thick' the segment is. This is always the smaller value between length and breadth.
-    var breadth: CGFloat = 5.0
-    
-    /// Length of the segment. It is always the longer value between length and breadth.
-    var length: CGFloat = 25.0
     
     /// The dominant color of each segment. Defaults to red.
     var fillColor: UIColor = UIColor.red {

            setNeedsDisplay()
        }
    }
    
    /// The side of triangle at each corner that is cutoff to give the 'tip' of the segment. Otherwise it is 1/15th of the length.
    private var cutoff: CGFloat { return length/10 }

        case .vertical:
            length = h
            breadth = w
        default:
            length = w
            breadth = h
        }
        
        super.init(frame: frame)
