Contents

CGPatternReleaseInfoCallback

Release private data or resources associated with the pattern.

Declaration

typealias CGPatternReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Void

Parameters

Discussion

Quartz calls your release function when it frees your pattern object.

To learn how to associate your release function with a Quartz pattern, see init(info:bounds:matrix:xStep:yStep:tiling:isColored:callbacks:) and CGPatternCallbacks.

See Also

Callbacks