performAsCurrentDrawingAppearance(_:)
Sets the appearance to be the active drawing appearance and perform the specified block.
Declaration
func performAsCurrentDrawingAppearance(_ block: () -> Void)Parameters
- block:
The block to invoke after setting the appearance to be the current drawing appearance.
Discussion
This method saves and restores the previous current appearance.