Instance Method

unlockFocus

Removes the focus from the receiver.

Declaration

- (void)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

- lockFocus

Prepares the image to receive drawing commands.

- lockFocusFlipped:

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