init(_:)
Creates a color object that encapsulates a SwiftUI color.
Declaration
convenience init(_ color: Color)Parameters
- color:
The initial color value, which can belong to any available color space.
Creates a color object that encapsulates a SwiftUI color.
convenience init(_ color: Color)The initial color value, which can belong to any available color space.