public class Styles
extends java.lang.Object
StyleSet interface.| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color[] |
COLORS |
static float[][] |
DASHES |
static java.awt.Color |
PLAIN_COLOR
Colour to use in monochrome colour scheme (black).
|
static java.awt.Stroke |
PLAIN_STROKE |
| Constructor and Description |
|---|
Styles() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Color |
getColor(int index)
Returns a colour labelled by a given index.
|
static float[] |
getDash(int index)
Returns a dash pattern labelled by a given index.
|
public static final float[][] DASHES
public static final java.awt.Color[] COLORS
public static final java.awt.Color PLAIN_COLOR
public static final java.awt.Stroke PLAIN_STROKE
public static java.awt.Color getColor(int index)
index - codepublic static float[] getDash(int index)
index - codeCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.