heicData
TypeScriptheicData(): (ArrayBuffer) | nullSwift declarationfunc heicData() -> Data?class · iOS 2.0+ · SDK 27.1
class UIImageheicData(): (ArrayBuffer) | nullSwift declarationfunc heicData() -> Data?jpegData(compressionQuality: number): (ArrayBuffer) | nullSwift declarationfunc jpegData(compressionQuality: CGFloat) -> Data?pngData(): (ArrayBuffer) | nullSwift declarationfunc pngData() -> Data?static animatedImageNamed(name: string, duration: number): (UIImage) | nullSwift declarationclass func animatedImageNamed(_ name: String, duration: TimeInterval) -> UIImage?static animatedImage(images: Array<UIImage>, duration: number): (UIImage) | nullSwift declarationclass func animatedImage(with images: [UIImage], duration: TimeInterval) -> UIImage?static animatedResizableImageNamedCapInsetsDuration(name: string, capInsets: { top: number; left: number; bottom: number; right: number }, duration: number): (UIImage) | nullSwift declarationclass func animatedResizableImageNamed(_ name: String, capInsets: UIEdgeInsets, duration: TimeInterval) -> UIImage?static animatedResizableImageNamedCapInsetsResizingModeDuration(name: string, capInsets: { top: number; left: number; bottom: number; right: number }, resizingMode: UIImage_ResizingMode, duration: number): (UIImage) | nullSwift declarationclass func animatedResizableImageNamed(_ name: String, capInsets: UIEdgeInsets, resizingMode: UIImage.ResizingMode, duration: TimeInterval) -> UIImage?static initNamed(name: string): (UIImage) | nullSwift declarationinit?(named name: String)static initNamedInCompatibleWith(name: string, bundle?: (_Foundation_Bundle) | null, traitCollection?: (UITraitCollection) | null): (UIImage) | nullSwift declarationinit?(named name: String, in bundle: Bundle?, compatibleWith traitCollection: UITraitCollection?)static initNamedInWith(name: string, bundle?: (_Foundation_Bundle) | null, configuration?: (UIImage_Configuration) | null): (UIImage) | nullSwift declarationinit?(named name: String, in bundle: Bundle?, with configuration: UIImage.Configuration?)static initSystemName(name: string): (UIImage) | nullSwift declarationinit?(systemName name: String)static initSystemNameCompatibleWith(name: string, traitCollection?: (UITraitCollection) | null): (UIImage) | nullSwift declarationinit?(systemName name: String, compatibleWith traitCollection: UITraitCollection?)static initSystemNameWithConfiguration(name: string, configuration?: (UIImage_Configuration) | null): (UIImage) | nullSwift declarationinit?(systemName name: String, withConfiguration configuration: UIImage.Configuration?)static get actions(): UIImageSwift declarationclass var actions: UIImage { get }static get add(): UIImageSwift declarationclass var add: UIImage { get }static get checkmark(): UIImageSwift declarationclass var checkmark: UIImage { get }static get remove(): UIImageSwift declarationclass var remove: UIImage { get }static get strokedCheckmark(): UIImageSwift declarationclass var strokedCheckmark: UIImage { get }drawAsPattern(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc drawAsPattern(in rect: CGRect)drawAt(point: { x: number; y: number }): voidSwift declarationfunc draw(at point: CGPoint)drawAtBlendModeAlpha(point: { x: number; y: number }, blendMode: _CoreGraphics_CGBlendMode, alpha: number): voidSwift declarationfunc draw(at point: CGPoint, blendMode: CGBlendMode, alpha: CGFloat)drawIn(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc draw(in rect: CGRect)drawInBlendModeAlpha(rect: { x: number; y: number; width: number; height: number }, blendMode: _CoreGraphics_CGBlendMode, alpha: number): voidSwift declarationfunc draw(in rect: CGRect, blendMode: CGBlendMode, alpha: CGFloat)applyingSymbolConfiguration(configuration: UIImage_SymbolConfiguration): (UIImage) | nullSwift declarationfunc applyingSymbolConfiguration(_ configuration: UIImage.SymbolConfiguration) -> UIImage?preparingForDisplay(): (UIImage) | nullSwift declarationfunc preparingForDisplay() -> UIImage?preparingThumbnail(size: { width: number; height: number }): (UIImage) | nullSwift declarationfunc preparingThumbnail(of size: CGSize) -> UIImage?imageFlippedForRightToLeftLayoutDirection(): UIImageSwift declarationfunc imageFlippedForRightToLeftLayoutDirection() -> UIImageimageRestrictedToStandardDynamicRange(): UIImageSwift declarationfunc imageRestrictedToStandardDynamicRange() -> UIImagewithAlignmentRectInsets(alignmentInsets: { top: number; left: number; bottom: number; right: number }): UIImageSwift declarationfunc withAlignmentRectInsets(_ alignmentInsets: UIEdgeInsets) -> UIImagewithBaselineOffset(baselineOffset: number): UIImageSwift declarationfunc withBaselineOffset(fromBottom baselineOffset: CGFloat) -> UIImagewithConfiguration(configuration: UIImage_Configuration): UIImageSwift declarationfunc withConfiguration(_ configuration: UIImage.Configuration) -> UIImagewithHorizontallyFlippedOrientation(): UIImageSwift declarationfunc withHorizontallyFlippedOrientation() -> UIImagewithRenderingMode(renderingMode: UIImage_RenderingMode): UIImageSwift declarationfunc withRenderingMode(_ renderingMode: UIImage.RenderingMode) -> UIImagewithTintColor(color: UIColor): UIImageSwift declarationfunc withTintColor(_ color: UIColor) -> UIImagewithTintColorRenderingMode(color: UIColor, renderingMode: UIImage_RenderingMode): UIImageSwift declarationfunc withTintColor(_ color: UIColor, renderingMode: UIImage.RenderingMode) -> UIImageimageWithoutBaseline(): UIImageSwift declarationfunc imageWithoutBaseline() -> UIImagestatic initCgImage(cgImage: _CoreGraphics_CGImage): UIImageSwift declarationinit(cgImage: CGImage)static initCgImageScaleOrientation(cgImage: _CoreGraphics_CGImage, scale: number, orientation: UIImage_Orientation): UIImageSwift declarationinit(cgImage: CGImage, scale: CGFloat, orientation: UIImage.Orientation)static initCiImage(ciImage: _CoreImage_CIImage): UIImageSwift declarationinit(ciImage: CIImage)static initCiImageScaleOrientation(ciImage: _CoreImage_CIImage, scale: number, orientation: UIImage_Orientation): UIImageSwift declarationinit(ciImage: CIImage, scale: CGFloat, orientation: UIImage.Orientation)static initContentsOfFile(path: string): (UIImage) | nullSwift declarationinit?(contentsOfFile path: String)static initData(data: ArrayBuffer): (UIImage) | nullSwift declarationinit?(data: Data)static initDataScale(data: ArrayBuffer, scale: number): (UIImage) | nullSwift declarationinit?(data: Data, scale: CGFloat)prepareForDisplay(completionHandler: ((arg0: (UIImage) | null) => void)): voidSwift declarationfunc byPreparingForDisplay() async -> UIImage?prepareThumbnail(size: { width: number; height: number }, completionHandler: ((arg0: (UIImage) | null) => void)): voidSwift declarationfunc byPreparingThumbnail(ofSize size: CGSize) async -> UIImage?resizableImageWithCapInsets(capInsets: { top: number; left: number; bottom: number; right: number }): UIImageSwift declarationfunc resizableImage(withCapInsets capInsets: UIEdgeInsets) -> UIImageresizableImageWithCapInsetsResizingMode(capInsets: { top: number; left: number; bottom: number; right: number }, resizingMode: UIImage_ResizingMode): UIImageSwift declarationfunc resizableImage(withCapInsets capInsets: UIEdgeInsets, resizingMode: UIImage.ResizingMode) -> UIImagestretchableImage(leftCapWidth: number, topCapHeight: number): UIImageSwift declarationfunc stretchableImage(withLeftCapWidth leftCapWidth: Int, topCapHeight: Int) -> UIImageget cgImage(): (_CoreGraphics_CGImage) | nullSwift declarationvar cgImage: CGImage? { get }get ciImage(): (_CoreImage_CIImage) | nullSwift declarationvar ciImage: CIImage? { get }get alignmentRectInsets(): { top: number; left: number; bottom: number; right: number }Swift declarationvar alignmentRectInsets: UIEdgeInsets { get }get capInsets(): { top: number; left: number; bottom: number; right: number }Swift declarationvar capInsets: UIEdgeInsets { get }get configuration(): (UIImage_Configuration) | nullSwift declaration@NSCopying var configuration: UIImage.Configuration? { get }get duration(): numberSwift declarationvar duration: TimeInterval { get }get flipsForRightToLeftLayoutDirection(): booleanSwift declarationvar flipsForRightToLeftLayoutDirection: Bool { get }get imageAsset(): (UIImageAsset) | nullSwift declarationvar imageAsset: UIImageAsset? { get }get imageOrientation(): UIImage_OrientationSwift declarationvar imageOrientation: UIImage.Orientation { get }get imageRendererFormat(): UIGraphicsImageRendererFormatSwift declarationvar imageRendererFormat: UIGraphicsImageRendererFormat { get }get images(): (Array<UIImage>) | nullSwift declarationvar images: [UIImage]? { get }get isHighDynamicRange(): booleanSwift declarationvar isHighDynamicRange: Bool { get }get leftCapWidth(): numberSwift declarationvar leftCapWidth: Int { get }get renderingMode(): UIImage_RenderingModeSwift declarationvar renderingMode: UIImage.RenderingMode { get }get resizingMode(): UIImage_ResizingModeSwift declarationvar resizingMode: UIImage.ResizingMode { get }get scale(): numberSwift declarationvar scale: CGFloat { get }get size(): { width: number; height: number }Swift declarationvar size: CGSize { get }get symbolConfiguration(): (UIImage_SymbolConfiguration) | nullSwift declaration@NSCopying var symbolConfiguration: UIImage.SymbolConfiguration? { get }get isSymbolImage(): booleanSwift declarationvar isSymbolImage: Bool { get }get topCapHeight(): numberSwift declarationvar topCapHeight: Int { get }get traitCollection(): UITraitCollectionSwift declaration@NSCopying var traitCollection: UITraitCollection { get }static initSystemNameVariableValueConfiguration(name: string, variableValue: number, configuration?: (UIImage_Configuration) | null): (UIImage) | nullSwift declarationconvenience init?(systemName name: String, variableValue: Double, configuration: UIImage.Configuration? = nil)get baselineOffsetFromBottom(): (number) | nullSwift declarationvar baselineOffsetFromBottom: CGFloat? { get }static initImageLiteralResourceName(name: string): UIImageSwift declarationrequired convenience init(imageLiteralResourceName name: String)Creates an instance initialized with the given resource name. Do not call this initializer directly. Instead, initialize a variable or constant using an image literal.
static initNamedInVariableValueConfiguration(name: string, bundle: (_Foundation_Bundle) | null, variableValue: number, configuration?: (UIImage_Configuration) | null): (UIImage) | nullSwift declarationconvenience init?(named name: String, in bundle: Bundle? = nil, variableValue: Double, configuration: UIImage.Configuration? = nil)static initResource(resource: _DeveloperToolsSupport_ImageResource): UIImageSwift declarationconvenience init(resource: ImageResource)1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIImage.init()
inherited init: cannot prove legal (class declares 27 custom initializers)