Instance Method

unlockFocus()

Removes the focus from the receiver.

Declaration

func unlockFocus()

Discussion

This message must be sent after a successful lockFocus() or lockFocusOnRepresentation: message and the completion of any intermediate drawing commands. This method restores the focus to the previous owner, if any.

Do not send this message if the preceding call to lock focus raised an NSImageCacheException.

See Also

Managing the Focus

func lockFocus()

Prepares the image to receive drawing commands.

func lockFocusFlipped(Bool)

Prepares the image to receive drawing commands using the specified flipped state.