public class Styles
extends java.lang.Object
StyleSet interface.| Modifier and Type | Field | 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 | Description |
|---|---|
Styles() |
| Modifier and Type | Method | 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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.