     /// The color to fill the path, or nil for no fill. Defaults to opaque black. Animatable.
     public var fillColor: Color? {
         get {
-            if let color = shapeLayer.fillColor {
-                return Color(color)
-            } else {
-                return nil
-            }
+            return shapeLayer.fillColor.map{ color in Color(color) }
         }
         set(color) {
             shapeLayer.fillColor = color?.CGColor


    /// Returns true if there is no path.
    public func isEmpty() -> Bool {
        return path == nil || path!.isEmpty()
    }



    }

    public override func hitTest(point: Point) -> Bool {
        return path?.containsPoint(point) ?? false
    }
}
