// Generated by ResgenSwift.Fonts 1.2

import UIKit

extension UIFontYolo {

    enum FontName: String {
        case LatoItalic = "Lato-Italic"
        case LatoLightItalic = "Lato-LightItalic"
        case LatoHairline = "Lato-Hairline"
        case LatoBold = "Lato-Bold"
        case LatoBlack = "Lato-Black"
        case LatoRegular = "Lato-Regular"
        case LatoBlackItalic = "Lato-BlackItalic"
        case LatoBoldItalic = "Lato-BoldItalic"
        case LatoLight = "Lato-Light"
        case LatoHairlineItalic = "Lato-HairlineItalic"
    }

    // MARK: - Getter

    func LatoItalic(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoItalic.rawValue, size: size)!
    }

    func LatoLightItalic(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoLightItalic.rawValue, size: size)!
    }

    func LatoHairline(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoHairline.rawValue, size: size)!
    }

    func LatoBold(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoBold.rawValue, size: size)!
    }

    func LatoBlack(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoBlack.rawValue, size: size)!
    }

    func LatoRegular(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoRegular.rawValue, size: size)!
    }

    func LatoBlackItalic(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoBlackItalic.rawValue, size: size)!
    }

    func LatoBoldItalic(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoBoldItalic.rawValue, size: size)!
    }

    func LatoLight(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoLight.rawValue, size: size)!
    }

    func LatoHairlineItalic(withSize size: CGFloat) -> UIFont {
        UIFont(name: FontName.LatoHairlineItalic.rawValue, size: size)!
    }
}
