formating
Useful extensions and functions used with SwiftUI Color
rgba
doBrighter (k: Double?) - increase intensity of the color. k - is level of the intensity Default value 0.05
doBrighter (k: Double?)
doDarker(k: Double?) - decrease intensity of the color. k - is level of the intensity Default value 0.05
doDarker(k: Double?)
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
SwiftUI Color extender
Useful extensions and functions used with SwiftUI Color
Computed properties
rgba
- returns values RGB and alfa channels for Color instanceFunctions
doBrighter (k: Double?)
- increase intensity of the color. k - is level of the intensity Default value 0.05doDarker(k: Double?)
- decrease intensity of the color. k - is level of the intensity Default value 0.05Used in