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?)
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
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