SymbolRenderingMode

A symbol rendering mode.

StructureiOS 15.0+macOS 12.0+tvOS 15.0+watchOS 8.0+SymbolRenderingMode in SwiftUI

Declaration

React
type SymbolRenderingMode = 'hierarchical' | 'monochrome' | 'multicolor' | 'palette';
Swift
struct SymbolRenderingMode

Pass a literal, or build one with SwiftUI.SymbolRenderingMode from import { SwiftUI } from 'swiftui-react-native'.

Type properties

  • 'hierarchical'SwiftUI.SymbolRenderingMode.hierarchical

    A mode that renders symbols as multiple layers, with different opacities applied to the foreground style.

  • 'monochrome'SwiftUI.SymbolRenderingMode.monochrome

    A mode that renders symbols as a single layer filled with the foreground style.

  • 'multicolor'SwiftUI.SymbolRenderingMode.multicolor

    A mode that renders symbols as multiple layers with their inherit styles.

  • A mode that renders symbols as multiple layers, with different styles applied to the layers.

Used by

See also

More in Text and symbols.