UIKit · IOS API REFERENCE
UIGraphicsImageRenderer
class · iOS 10.0+ · SDK 27.1
class UIGraphicsImageRenderer
Members (6)
method · iOS 10.0+jpegData
TypeScriptjpegData(compressionQuality: number, actions: ((arg0: UIGraphicsImageRendererContext) => void)): ArrayBuffer
Swift declarationfunc jpegData(withCompressionQuality compressionQuality: CGFloat, actions: (UIGraphicsImageRendererContext) -> Void) -> Data
method · iOS 10.0+pngData
TypeScriptpngData(actions: ((arg0: UIGraphicsImageRendererContext) => void)): ArrayBuffer
Swift declarationfunc pngData(actions: (UIGraphicsImageRendererContext) -> Void) -> Data
method · iOS 10.0+image
TypeScriptimage(actions: ((arg0: UIGraphicsImageRendererContext) => void)): UIImage
Swift declarationfunc image(actions: (UIGraphicsImageRendererContext) -> Void) -> UIImage
init · iOS 10.0+init
TypeScriptstatic initBoundsFormat(bounds: { x: number; y: number; width: number; height: number }, format: UIGraphicsImageRendererFormat): UIGraphicsImageRenderer
Swift declarationinit(bounds: CGRect, format: UIGraphicsImageRendererFormat)
init · iOS 10.0+init
TypeScriptstatic initSize(size: { width: number; height: number }): UIGraphicsImageRenderer
Swift declarationconvenience init(size: CGSize)
init · iOS 10.0+init
TypeScriptstatic initSizeFormat(size: { width: number; height: number }, format: UIGraphicsImageRendererFormat): UIGraphicsImageRenderer
Swift declarationinit(size: CGSize, format: UIGraphicsImageRendererFormat)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIGraphicsImageRenderer.init()
inherited init: cannot prove legal (class declares 3 custom initializers)
All UIKit types →