ColorTableFactory
- class cee.ColorTableFactory()
 
Methods
Methods
color3TableArray
- cee.ColorTableFactory.color3TableArray(colorTable, colorCount)
 Returns an array of Color3 created from the given color scheme.
- Arguments
 colorTable (
cee.ColorTable) –colorCount (
number) –
- Return type
 [cee.Color3Like]
The returned array will have colorCount number of values
color4TableArray
- cee.ColorTableFactory.color4TableArray(colorTable, colorCount)
 Returns an array of Color4 created from the given color scheme.
- Arguments
 colorTable (
cee.ColorTable) –colorCount (
number) –
- Return type
 [cee.Color4Like]
The returned array will have colorCount number of values. All alpha values will be set to 1.
interpolateColor4Array
- cee.ColorTableFactory.interpolateColor4Array(colorArray, targetColorCount)
 Interpolate a graded color table with the given number of colors (targetColorCount) based on the input colors (colorArray).
- Arguments
 colorArray (
[cee.Color4Like]) –targetColorCount (
number) –
- Return type
 [cee.Color4Like]
This is useful for creating gradient/continuous style color maps based on two or more colors.
interpolateColorArray
- cee.ColorTableFactory.interpolateColorArray(colorArray, targetColorCount)
 Interpolate a graded color table with the given number of colors (targetColorCount) based on the input colors (colorArray).
- Arguments
 colorArray (
[cee.Color3Like]) –targetColorCount (
number) –
- Return type
 [cee.Color3Like]
This is useful for creating gradient/continuous style color maps based on two or more colors.
partColorArray
- cee.ColorTableFactory.partColorArray(colorCount)
 Returns an array with colors matching the part colors in the C3DC and the cee.ug component.
- Arguments
 colorCount (
number) –
- Return type
 [cee.Color3Like]