-
Declaration
Swift
public typealias Body = Never -
Undocumented
Declaration
Swift
public static var clear: `Self` { get } -
Undocumented
Declaration
Swift
public static let red: Color -
Undocumented
Declaration
Swift
public static let green: Color -
Undocumented
Declaration
Swift
public static let blue: Color -
Undocumented
Declaration
Swift
public static let systemBlue: Color -
Undocumented
Declaration
Swift
public static let gray: Color -
Undocumented
Declaration
Swift
public static let white: Color -
Undocumented
Declaration
Swift
public static let black: Color -
Declaration
Swift
public func modifiedGrowingLayoutAxes(forGrowingAxesOfSubnodes: Set<GrowingLayoutAxis>) -> Set<GrowingLayoutAxis> -
Initializes a color with the supplied values for the red, green and blue components as well as the opacity.
Declaration
Swift
public init(red: Double, green: Double, blue: Double, opacity: Double) -
Initializes a color with the supplied values for the red, green and blue components.
Declaration
Swift
public init(red: Double, green: Double, blue: Double) -
Initialized a grayscale
Colorwith the supplied brightness.Declaration
Swift
public init(white: Double) -
Returns this color with the supplied opacity value.
Declaration
Swift
public func opacity(_ opacity: Double) -> Color
View on GitHub
Color Structure Reference