View ModifieriOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+symbolColorRenderingMode(_:) in SwiftUI
Declaration
compose().symbolColorRenderingMode(
mode: SwiftUI.SymbolColorRenderingMode | null
)@export(implementation) nonisolated func symbolColorRenderingMode(
_ mode: SymbolColorRenderingMode?
) -> some ViewParameters
mode*SwiftUI.SymbolColorRenderingMode | nullThe color rendering mode, or nil to use the default mode.
Return value
A view that specifies the color rendering mode for symbol images.
See also
More in Text and symbols.
- allowsTighteningSets whether text in this view can compress the space between characters when necessary to fit text in a line.
- autocorrectionDisabledSets whether to disable autocorrection for this view.
- baselineOffsetSets the vertical offset for the text relative to its baseline in this view.
- boldApplies a bold font weight to the text in this view.
- findDisabledPrevents find and replace operations in a text editor.
- findNavigatorProgrammatically presents the find and replace interface for text editor views.
- fontSets the default font for text in this view.
- fontDesignSets the font design of the text in this view.
- fontWeightSets the font weight of the text in this view.
- fontWidthSets the font width of the text in this view.
- interactionActivityTrackingTagSets a tag that you use for tracking interactivity.
- italicApplies italics to the text in this view.