     
     private func generateAlgorithmClosure(
         algorithm: @escaping AlgorithmType
-        ) -> ((LayerType)->Void) {
+    ) -> ((LayerType)->Void) {
         return { _, _, width, height, memoryPool in
             
             var index = 0

    public var bottom: CGFloat
    public var right: CGFloat
    
    public static var zero: EdgeInsets {
        get {
            return EdgeInsets(top: 0, left: 0, bottom: 0, right: 0)

        if !self.isAlphaBlend {
            drawContext.clip(to: spaceRect, mask: drawContext.makeImage()!)
        }
        self.afterLayer.forEach {
            $0(LayerType(drawContext, spaceRect, width, height, memoryPool))
        }
        drawContext.restoreGState()
        
        /// Last Layer
        self.lastLayer.forEach {
            $0(LayerType(drawContext, spaceRect, width, height, memoryPool))
        }
        
        #if !os(OSX)
            UIGraphicsEndImageContext()
