     if let contentMode = self.contentMode {
       attrs.append(ViewContentMode(contentMode))
     }
+    if let layerOptions = self.layerOptions {
+      attrs.append(contentsOf: layerOptions.viewAttributes())
+    }
     return attrs
   }
 }

  let alpha: CGFloat?
  
  let contentMode: UIViewContentMode?
  
  public init(backgroundColor: UIColor? = nil,
              tintColor: UIColor? = nil,

    self.clipsToBounds = clipsToBounds
    self.alpha = alpha
    self.contentMode = contentMode
    self.layerOptions = layerOptions
  }
  
  public func viewAttributes() -> [Attribute] {
