Skip to main content

Interface: RasterOptions

Defined in: Fill.ts:42

Options for Raster components

Properties

PropertyTypeDescriptionDefined in
cmapColorMap | ColorMap[]The color map to use when creating the raster plotFill.ts:44
cmap_mask?Uint8Array | nullA mask specifying where to use each color map. This should be on the same grid as the RawScalarField passed. A 1 in the mask means to use the first colormap, a 2 means to use the second colormap, etc.Fill.ts:50
opacity?numberThe opacity for the raster plot Default 1Fill.ts:56