UIKit.UIImage

extension UIKit.UIImage
  • The “CenterImage” asset catalog image.

    Declaration

    Swift

    static var center: UIKit.UIImage { get }
  • The “DisplayCircle” asset catalog image.

    Declaration

    Swift

    static var displayCircle: UIKit.UIImage { get }
  • The “DisplayDigits” asset catalog image.

    Declaration

    Swift

    static var displayDigits: UIKit.UIImage { get }
  • The “DisplayDots” asset catalog image.

    Declaration

    Swift

    static var displayDots: UIKit.UIImage { get }
  • The “Final-Image” asset catalog image.

    Declaration

    Swift

    static var final: UIKit.UIImage { get }
  • The “Sound-Off” asset catalog image.

    Declaration

    Swift

    static var soundOff: UIKit.UIImage { get }
  • The “Sound-Off-Vib” asset catalog image.

    Declaration

    Swift

    static var soundOffVib: UIKit.UIImage { get }
  • The “Sound-On” asset catalog image.

    Declaration

    Swift

    static var soundOn: UIKit.UIImage { get }
  • The “Sound-On-Vib” asset catalog image.

    Declaration

    Swift

    static var soundOnVib: UIKit.UIImage { get }
  • The “Start-Image” asset catalog image.

    Declaration

    Swift

    static var start: UIKit.UIImage { get }
  • The “Warn-Image” asset catalog image.

    Declaration

    Swift

    static var warn: UIKit.UIImage { get }
  • The “circular” asset catalog image.

    Declaration

    Swift

    static var circular: UIKit.UIImage { get }
  • The “numerical” asset catalog image.

    Declaration

    Swift

    static var numerical: UIKit.UIImage { get }
  • The “stoplights” asset catalog image.

    Declaration

    Swift

    static var stoplights: UIKit.UIImage { get }

Thinnable Asset Support

  • Declaration

    Swift

    private convenience init?(thinnableResource: DeveloperToolsSupport.ImageResource?)

UIImage Extension to Create Gradients

  • Create a simple gradient image from inStartColor on left and inEndColor on right (if horizontal), or inStartColor on top, and inEndColor on bottom (if vertical)

    Declaration

    Swift

    static func gradientImage(from inStartColor: UIColor, to inEndColor: UIColor, with inFrame: CGRect, isVertical inIsVertical: Bool = false) -> UIImage

    Parameters

    inStartColor

    left side or top

    inEndColor

    right side or bottom

    inFrame

    frame to be filled (Cannot be empty)

    inIsVertical

    True, if the gradient is top to bottom (default is false)

    Return Value

    a gradient image, or a “nosign” image.