Contents

setSymbolImage(_:contentTransition:options:)

Sets a symbol image using the specified content-transition effect and options.

Declaration

@MainActor @preconcurrency func setSymbolImage(_ image: NSImage, contentTransition: some ContentTransitionSymbolEffect & SymbolEffect, options: SymbolEffectOptions = .default)

Parameters

  • image:

    The symbol image to set.

  • contentTransition:

    The content transition to use when setting the symbol image.

  • options:

    The options to use when setting the symbol image.

See Also

Configuring symbol effects