public class ShaderLegend extends Object
| Constructor and Description |
|---|
ShaderLegend(int ncol)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Shader[] |
getAllShaders()
Returns all the shaders generally available from Plot2 graphics.
|
static void |
main(String[] args)
Main method invoked to write SVG to standard output.
|
String |
toSvg(Shader[] shaders)
Returns an SVG representation of a legend labelling a given
list of shaders.
|
public ShaderLegend(int ncol)
ncol - number of columns for outputpublic String toSvg(Shader[] shaders)
shaders - shader listpublic static Shader[] getAllShaders()
public static void main(String[] args)
args - flag arrayCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.