ThermalRelativePalette

@objcMembers
@objc(GSThermalRelativePalette)
public class ThermalRelativePalette : ThermalPalette

Relative thermal palette.

  • Temperature associated to the lower boundary of the palette, in Kelvin, used only when palette is ‘locked’.

    Declaration

    Swift

    public var lowestTemperature: Double
  • Temperature associated to the higher boundary of the palette, in Kelvin, used only when palette is ‘locked’.

    Declaration

    Swift

    public var highestTemperature: Double
  • Whether the palette is locked.

    When ‘false’, lowest and highest temperatures associated with palette bounds are computed at each frame. When ‘true’, lowest and highest temperatures associated with palette bounds are locked.

    Declaration

    Swift

    public var locked: Bool
  • Constructor.

    Declaration

    Swift

    public init(colors: [ThermalColor], locked: Bool,
                lowestTemp: Double, highestTemp: Double)

    Parameters

    colors

    palette colors

    locked

    ‘true’ if the palette is locked, otherwise ‘false’

    lowestTemp

    temperature associated to the lower boundary of the palette, in Kelvin, used only when palette is ‘locked’

    highestTemp

    temperature associated to the higher boundary of the palette, in Kelvin, used only when palette is ‘locked’

  • Debug description.

    Declaration

    Swift

    override public var description: String { get }