ThermalAbsolutePalette
@objcMembers
@objc(GSThermalAbsolutePalette)
public class ThermalAbsolutePalette : ThermalPalette
Absolute thermal palette.
-
Temperature associated to the lower boundary of the palette, in Kelvin.
Declaration
Swift
public var lowestTemperature: Double
-
Temperature associated to the higher boundary of the palette, in Kelvin.
Declaration
Swift
public var highestTemperature: Double
-
Colorization mode outside palette bounds.
Declaration
Swift
public var outsideColorization: ThermalColorizationMode
-
Constructor.
Declaration
Swift
public init(colors: [ThermalColor], lowestTemp: Double, highestTemp: Double, outsideColorization: ThermalColorizationMode)
Parameters
colors
palette colors
lowestTemp
temperature associated to the lower boundary of the palette, in Kelvin
highestTemp
temperature associated to the higher boundary of the palette, in Kelvin
outsideColorization
colorization mode outside palette bounds
-
Debug description.
Declaration
Swift
override public var description: String { get }