Type Alias MultiChannelGradientColoringFragmentOptions
type MultiChannelGradientColoringFragmentOptions = {
categoryChannel?: "r" | "g" | "b" | "a";
decode: MultiChannelDecoderOptions;
opacity?: number;
smooth?: boolean;
stopsPerCategory: StopsPerCategoryType[];
valueChannels?: "rgb" | "rg" | "r" | "gb" | "g" | "b";
}
categoryChannel?: "r" | "g" | "b" | "a";
decode: MultiChannelDecoderOptions;
opacity?: number;
smooth?: boolean;
stopsPerCategory: StopsPerCategoryType[];
valueChannels?: "rgb" | "rg" | "r" | "gb" | "g" | "b";
}
Index
Properties
OptionalcategoryChannel
categoryChannel?: "r" | "g" | "b" | "a"
Channel to use for a category. Can be one of "r", "g", "b" or "a" (default: "a")
decode
Polynomial information as per how to decode the multi channel value.
Optionalopacity
opacity?: number
0-1
Optionalsmooth
smooth?: boolean
Apply the gradient smoothly, rather then discrete steps.
stopsPerCategory
The color stops for each gradient. There is a gradient per category.
OptionalvalueChannels
valueChannels?: "rgb" | "rg" | "r" | "gb" | "g" | "b"
Channel(s) used to apply the polynomial coeficients (see MultiChannelDecoderOptions)
Was this helpful?
Options as per howto interpret image channels in the context of a multi channel gradient coloring fragment