lockFocusIfCanDraw(in:)
Locks the focus to the view atomically if drawing can occur in the specified graphics context.
Declaration
func lockFocusIfCanDraw(in context: NSGraphicsContext) -> BoolParameters
- context:
The graphics context in which drawing might occur. See the discussion for the implications of the type of context.