ThermalColor
@objcMembers
@objc(GSThermalColor)
public class ThermalColor : NSObject
Color for thermal palette.
-
Red component, in range [0, 1].
Declaration
Swift
public let red: Double
-
Green component, in range [0, 1].
Declaration
Swift
public let green: Double
-
Blue component, in range [0, 1].
Declaration
Swift
public let blue: Double
-
Index in the palette where given color should be applied, in range [0, 1].
Declaration
Swift
public let position: Double
-
Constructor.
Declaration
Swift
public init(_ red: Double, _ green: Double, _ blue: Double, _ position: Double)
Parameters
red
red component, in range [0, 1]
green
green component, in range [0, 1]
blue
blue component, in range [0, 1]
position
index in the palette, in range [0, 1]
-
Undocumented
Declaration
Swift
override public func isEqual(_ object: Any?) -> Bool
-
Debug description.
Declaration
Swift
override public var description: String { get }