Modifier and Type | Field and Description |
---|---|
static Color[] |
COLORS |
static float[][] |
DASHES |
static Color |
PLAIN_COLOR
Colour to use in monochrome colour scheme (black).
|
static Stroke |
PLAIN_STROKE |
Constructor and Description |
---|
Styles() |
Modifier and Type | Method and Description |
---|---|
static 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 Color[] COLORS
public static final Color PLAIN_COLOR
public static final Stroke PLAIN_STROKE
public static Color getColor(int index)
index
- codeindex
public static float[] getDash(int index)
index
- codeindex
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.