apply(info:function:)
For each element in a graphics path, calls a custom applier function.
Declaration
func apply(info: UnsafeMutableRawPointer?, function: CGPathApplierFunction)Parameters
- info:
A pointer to the user data that Core Graphics will pass to the function being applied, or
NULL. - function:
A pointer to the function to apply. See Cgpathapplierfunction for more information.
Discussion
For each element in the specified path, Core Graphics calls the applier function, which can examine (but not modify) the element.