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

React
type SymbolVariableValueMode = 'color' | 'draw';
Swift
struct SymbolVariableValueMode

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

Type properties

  • The "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.

  • The "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.