Class GradientColorPalette
Defines a linear gradient color palette which can be used with SurfaceMeshRenderableSeries3D and FreeSurfaceRenderableSeries3D e.g. to give a height-map at runtime.
Inheritance
GradientColorPalette
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class GradientColorPalette extends renderableSeriesBrushColorPalette
Constructors
GradientColorPalette(int[] colors, float[] stops)
Creates a new instance of GradientColorPalette class
Declaration
public GradientColorPalette(int[] colors, float[] stops)
Parameters
Type | Name | Description |
---|---|---|
int[] | colors | The array with gradient colors |
float[] | stops | The array with gradient stops |
GradientColorPalette(int[] colors, float[] stops, boolean isStepped)
Creates a new instance of GradientColorPalette class
Declaration
public GradientColorPalette(int[] colors, float[] stops, boolean isStepped)
Parameters
Type | Name | Description |
---|---|---|
int[] | colors | The array with gradient colors |
float[] | stops | The array with gradient stops |
boolean | isStepped | The value indicating whether the palette is stepped (true), or linear interpolated (false) |