     }
     
     /// A preset property to set the shape.
-    fileprivate var shapePreset = ShapePreset.none
+    fileprivate var shapePreset = ShapePreset.none {
+        didSet {
+            layer?.layoutShape()
+        }
+    }
     
     /// A preset value for Depth.
     fileprivate var depthPreset: DepthPreset {

        }
        
        guard .circle == shapePreset else {
            return
        }
        


import UIKit

fileprivate class MaterialLayer {
    /// A reference to the CALayer.
    fileprivate weak var layer: CALayer?
    
