beginTransparencyLayer(in:auxiliaryInfo:)
Begins a transparency layer whose contents are bounded by the specified rectangle.
Declaration
func beginTransparencyLayer(in rect: CGRect, auxiliaryInfo auxInfo: CFDictionary?)Parameters
- rect:
The rectangle, specified in user space, that bounds the transparency layer.
- auxInfo:
A dictionary that specifies any additional information, or
nil.
Discussion
This function is identical to beginTransparencyLayer(auxiliaryInfo:) except that the content of the transparency layer is within the bounds of the provided rectangle.