On this page
Properties

Type Alias StopsPerCategoryType

The color stops as to be used by MultiChannelGradientColoringFragment

type StopsPerCategoryType = {
    category?: number | "all";
    stops: ColorStop[];
}
Index

Properties

Properties

category?: number | "all"

A category. Categories are the values stored in the alpha channel (in [0, 255]). If the category value is "all" then the color stops will apply to all categories and if there are other StopsPerCategory for specific category number, they will be ignored.

stops: ColorStop[]

The color stops are defining the colormap to be used.

Was this helpful?
SDK JS
Modules
Reference
types
StopsPerCategoryType