CGSize

extension CGSize
  • Undocumented

    Declaration

    Swift

    static func aspectFill(aspectRatio: CGSize, minimumSize: CGSize) -> CGSize
  • Calculates aspect fit size for image

    Declaration

    Swift

    func aspectFit(sizeImage: CGSize) -> CGRect

    Parameters

    sizeImage

    Image size

    Return Value

    Aspect fit size