             }
         }
     }
-    
+
     /// default is `0`.
     @IBInspectable
     open var numberOfLines: Int {

        case topRight
        case bottomLeft
        case bottomRight
        
        func alignOffset(viewSize: CGSize, containerSize: CGSize) -> CGPoint {
            let xMargin = viewSize.width - containerSize.width
            let yMargin = viewSize.height - containerSize.height
            
            switch self {
            case .center:
                return CGPoint(x: max(xMargin / 2, 0), y: max(yMargin / 2, 0))

        }
    }
}

