SymbolVariableValueMode
A method of rendering the variable value of a symbol image.
StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+SymbolVariableValueMode in SwiftUI
Declaration
type SymbolVariableValueMode = 'color' | 'draw';struct SymbolVariableValueModePass a literal, or build one with SwiftUI.SymbolVariableValueMode from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'color'SwiftUI.SymbolVariableValueMode.colorThe "color" variable value mode. Sets the opacity of each variable layer to either on or off depending on how its threshold compared to the current value.
'draw'SwiftUI.SymbolVariableValueMode.drawThe "draw" variable value mode. Changes the drawn length of each variable layer to either based on how its range relates to the current value.
Used by
See also
More in Text and symbols.
- DisabledTextSelectabilityA selectability type that disables text selection by the person using your app.
- EnabledTextSelectabilityA selectability type that enables text selection by the person using your app.
- FindContextThe status of the find navigator for views which support text editing.
- FixedTextVariantThe default text variant preference that chooses the largest available variant.
- FontAn environment-dependent font.
- FontChainFont with chained calls: SwiftUI.Font.bold(...).
- FontContextInformation used to resolve a font.
- FontDesignA design to use for fonts.
- FontLeadingA line spacing adjustment that you can apply to a font.
- FontWeightA weight to use for fonts.
- FontWidthA width to use for fonts that have multiple widths.
- SubmitLabelA semantic label describing the label of submission within a view hierarchy.