ThematicGradientSettings Class

Beta  

Thematic settings specific to creating a color gradient used by ThematicDisplay.

Methods

Name Description
clone(changedProps?: ThematicGradientSettingsProps): ThematicGradientSettings.fromJSON Create a copy of this ThematicGradientSettings, optionally modifying some of its properties.  
equals(other: ThematicGradientSettings.fromJSON): boolean    
toJSON(): ThematicGradientSettingsProps    
fromJSON(json?: ThematicGradientSettingsProps): ThematicGradientSettings.fromJSON Static    

Properties

Name Type Description
colorMix number The percentage to mix in the original color with the thematic display gradient color (0-1).  
colorScheme ThematicGradientColorScheme The color scheme used to generate the colors of the gradient color used at the extremes of the gradient, when outside the applied range.  
contentMax Accessor StaticReadOnly number    
contentRange Accessor StaticReadOnly number    
customKeys Gradient.KeyColor[] The key color values that must be provided when using a custom thematic color scheme.  
defaults Static ThematicGradientSettings.fromJSON    
margin Accessor StaticReadOnly number    
marginColor ColorDef.black The margin color used at the extremes of the gradient, when outside the applied range.  
mode ThematicGradientMode The thematic image mode used to generate the gradient.  
stepCount number The step count value used for ThematicGradientMode.Stepped, ThematicGradientMode.SteppedWithDelimiter, and ThematicGradientMode.IsoLines.  

Defined in

Last Updated: 05 November, 2020