ColorBlendingStore
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
id: number
Returns ColorBlendingStore
Properties
alpha
The alpha values of all the layers
contourVisible
The visibility of all the contours.
readonlyfilename
The filename of the color blended image.
readonlyid
The unique identifier of the color blended image.
rasterVisible
The visibility of the blended raster image.
selectedFrames
The frames from the layers excluding the base layer.
titleCustomText
The custom title shown in the image view overlay.
vectorOverlayVisible
The visibility of all the vector overlays.
staticreadonlyColormapSets
Available colormap sets used for blending. The keys are the names of the sets, and the values are the configuration of the set.
staticreadonlyDefaultLayerLimit
The default limit for the number of layers during initialization.
Accessors
baseFrame
The frame from the base layer.
Returns FrameStore
frames
The frames from all the layers.
Returns FrameStore[]
Methods
addSelectedFrame
Adds a layer to the color blended image.
Parameters
frame: FrameStore
The frame used for the layer.
Returns void
applyColormapSet
Applies the specified colormap set to the layers. Frames with raster scaling matching enabled are skipped.
- If the colormap set is a single gradient colormap, it interpolates colors along the gradient for each frame.
- If the colormap set is a collection of multiple colormaps, it interpolates between the indexes and selects a colormap from the collection to match the number of frames.
Parameters
set: string
The name of the colormap set to apply. Must be a key in the
ColorBlendingStore.ColormapSets
map.
Returns void
deleteSelectedFrame
Deletes a layer from the color blended image.
Parameters
index: number
The layer index excluding the base layer.
Returns void
setAlpha
Sets the alpha value of the layer.
Parameters
index: number
The layer index.
alpha: number
The alpha value.
Returns void
setSelectedFrame
Sets the frame used for the layer.
Parameters
index: number
The layer index excluding the base layer.
frame: FrameStore
The frame used for the layer.
Returns void
setTitleCustomText
Sets the custom title shown in the image view overlay.
Parameters
text: string
The custom text to set.
Returns void
toggleContourVisible
Hides or shows all the contours.
Returns void
toggleRasterVisible
Hides or shows the blended raster image.
Returns void
toggleVectorOverlayVisible
Hides or shows all the vector overlays.
Returns void
Configuration of a color blended image.