One Logo Pool Ball
CoreGraphics · IOS API REFERENCE

CGPatternCallbacks

struct · SDK 27.1

struct CGPatternCallbacks

Members (5)

get

drawPattern

TypeScript
get drawPattern(): (((arg0: (SDKHandle) | null, arg1: CGContext) => Promise<void>)) | null
Swift declaration
var drawPattern: CGPatternDrawPatternCallback?
get

releaseInfo

TypeScript
get releaseInfo(): (((arg0: (SDKHandle) | null) => Promise<void>)) | null
Swift declaration
var releaseInfo: CGPatternReleaseInfoCallback?
get

version

TypeScript
get version(): number
Swift declaration
var version: UInt32
set

version

TypeScript
set version(value: number)
Swift declaration
var version: UInt32
init

init

TypeScript
static init(): CGPatternCallbacks
Swift declaration
init()

Skipped declarations

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

CGPatternCallbacks.init(version:drawPattern:releaseInfo:)

The iOS SDK compiler rejected this binding: a C function pointer cannot be formed from a closure that captures context

CGPatternCallbacks.drawPattern

The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure

CGPatternCallbacks.releaseInfo

The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure

All CoreGraphics types →