One Logo Pool Ball
TouchController · IOS API REFERENCE

TCControlImage

class · iOS 26.0+ · SDK 27.1

class TCControlImage

Members (14)

init · iOS 26.0+

init

TypeScript
static initCgImageSizeDevice(cgImage: _CoreGraphics_CGImage, size: { width: number; height: number }, device: SDKHandle): (TCControlImage) | null
Swift declaration
convenience init?(cgImage: CGImage, size: CGSize, device: any MTLDevice)
init · iOS 26.0+

init

TypeScript
static initTextureSize(texture: SDKHandle, size: { width: number; height: number }): TCControlImage
Swift declaration
convenience init(texture: any MTLTexture, size: CGSize)
init · iOS 26.0+

init

TypeScript
static initTextureSizeHighlightOffsetTintColor(texture: SDKHandle, size: { width: number; height: number }, highlightTexture: (SDKHandle) | null, offset: { x: number; y: number }, tintColor: _CoreGraphics_CGColor): TCControlImage
Swift declaration
init(texture: any MTLTexture, size: CGSize, highlight highlightTexture: (any MTLTexture)?, offset: CGPoint, tintColor: CGColor)
init · iOS 26.0+

init

TypeScript
static initUiImageSizeDevice(uiImage: _UIKit_UIImage, size: { width: number; height: number }, device: SDKHandle): (TCControlImage) | null
Swift declaration
convenience init?(uiImage: UIImage, size: CGSize, device: any MTLDevice)
get · iOS 26.0+

highlightTexture

TypeScript
get highlightTexture(): (SDKHandle) | null
Swift declaration
var highlightTexture: (any MTLTexture)? { get set }
set · iOS 26.0+

highlightTexture

TypeScript
set highlightTexture(value: (SDKHandle) | null)
Swift declaration
var highlightTexture: (any MTLTexture)? { get set }
get · iOS 26.0+

offset

TypeScript
get offset(): { x: number; y: number }
Swift declaration
var offset: CGPoint { get set }
set · iOS 26.0+

offset

TypeScript
set offset(value: { x: number; y: number })
Swift declaration
var offset: CGPoint { get set }
get · iOS 26.0+

size

TypeScript
get size(): { width: number; height: number }
Swift declaration
var size: CGSize { get set }
set · iOS 26.0+

size

TypeScript
set size(value: { width: number; height: number })
Swift declaration
var size: CGSize { get set }
get · iOS 26.0+

texture

TypeScript
get texture(): SDKHandle
Swift declaration
var texture: any MTLTexture { get set }
set · iOS 26.0+

texture

TypeScript
set texture(value: SDKHandle)
Swift declaration
var texture: any MTLTexture { get set }
get · iOS 26.0+

tintColor

TypeScript
get tintColor(): _CoreGraphics_CGColor
Swift declaration
unowned(unsafe) var tintColor: CGColor { get set }
set · iOS 26.0+

tintColor

TypeScript
set tintColor(value: _CoreGraphics_CGColor)
Swift declaration
unowned(unsafe) var tintColor: CGColor { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

TCControlImage.init()

inherited init: cannot prove legal (class declares 7 custom initializers)

All TouchController types →