Structures
The following structures are available globally.
-
For all values that can only be valid in the range of 0 to 1, such as percentages (e.g., opacity) and scales (e.g., volume). Values less than 0 are set to 0, greater than 1 are set to 1.
See moreDeclaration
Swift
@propertyWrapper public struct ZeroToOneClamped<Value> where Value : FloatingPoint