Contents

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.

See Also

Getting and Setting the Current Appearance