Weight
public enum Weight
Represents the weighted values for computation
- light: a small value, 0.5
- medium: a default value, 1.0
- heavy: a large value, 2.0
- custom: you can specify your own value for weight
-
a small value, 0.5
Declaration
Swift
case light
-
a default value, 1.0
Declaration
Swift
case medium
-
a large value, 2.0
Declaration
Swift
case heavy
-
you can specify your own value for weight
Declaration
Swift
case custom(Double)