     private func setFrame(_ newValue: CGRect) {
         
         _frame = newValue
-        
         _bounds.size = newValue.size
-        
-        //setNeedsLayout()
     }
     
     @inline(__always)
     private func setBounds(_ newValue: CGRect) {
         
         _bounds = newValue
-        
         _frame.size = newValue.size
-        
-        //setNeedsLayout()
     }
     
     @inline(__always)

    /// Instead of the CoreGraphics API you could draw directly to the texture's pixel data.
    private var texture: Texture!
    
    internal final var shouldRender: Bool { return isHidden == false && alpha > 0 }
    
    open func draw(_ rect: CGRect) { /* implemented by subclasses */ }
    

    }
    
    // MARK: - Layout
    
    /// Lays out subviews.
    ///
