         self.node = rootNode
     }
     
-    private func getMidX(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
+    fileprivate func getMidX(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
         let viewMidX = viewBounds.midX
         let nodeMidX = nodeBounds.midX + nodeBounds.origin.x
         return viewMidX - nodeMidX
     }
     
-    private func getMidY(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
+    fileprivate func getMidY(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
         let viewMidY = viewBounds.midY
         let nodeMidY = nodeBounds.midY + nodeBounds.origin.y
         return viewMidY - nodeMidY
     }
     
-    private func getBottom(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
+    fileprivate func getBottom(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
         return viewBounds.maxY - nodeBounds.maxY + nodeBounds.origin.y
     }
     
-    private func getRight(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
+    fileprivate func getRight(_ viewBounds: CGRect, _ nodeBounds: CGRect) -> CGFloat {
         return viewBounds.maxX - nodeBounds.maxX + nodeBounds.origin.x
     }
     


open class SVGView: MacawView {
    
    @IBInspectable open var fileName: String? {
        didSet {
            render()
        }
    }

        render()
    }
    
    fileprivate func parseSVG() {
        svgNode = SVGParser.parse(path: fileName ?? "")
    }
    
    fileprivate func render() {
        guard let svgNode = self.svgNode else {
            return
        }
        let viewBounds = self.bounds
