Constructor and Description |
---|
MarkStyles() |
Modifier and Type | Method and Description |
---|---|
static StyleSet |
dashedLines(String name)
Returns a style set which draws black lines with variable dash patterns.
|
static StyleSet |
faded(String name,
StyleSet base,
int opaqueLimit)
Returns a StyleSet based on another one but with a given opaque limit
for each of the dispensed styles.
|
static StyleSet |
filledShapes(String name,
int size,
Color color)
Returns a style set which gives filled shapes of various kinds.
|
static Icon |
getIcon(StyleSet styleSet)
Returns an icon which represents a given marker style set.
|
static StyleSet |
lines(String name)
Returns a style set which draws lines using a default
sequence of colours.
|
static StyleSet |
lines(String name,
Color[] colors)
Returns a style set which draws lines using a given sequence of colours.
|
static StyleSet |
openShapes(String name,
int size,
Color color)
Returns a style set which gives line-drawn shapes of various kinds.
|
static StyleSet |
points(String name)
Returns a style set which gives pixels in a variety of colours.
|
static StyleSet |
points(String name,
Color[] colors)
Returns a style set which gives pixels using a given sequence of colours.
|
static StyleSet |
spots(String name,
int size)
Returns a style set which gives filled circles of a given size
in a variety of colours.
|
public static StyleSet points(String name)
name
- set namepublic static StyleSet points(String name, Color[] colors)
name
- set namecolors
- colour sequencepublic static StyleSet spots(String name, int size)
name
- set namesize
- approximate radius of markerspublic static StyleSet openShapes(String name, int size, Color color)
name
- set namesize
- approximate radius of markerscolor
- color of markers, or null
for variouspublic static StyleSet filledShapes(String name, int size, Color color)
name
- set namesize
- approximate radius of markerscolor
- color of markers, or null
for variouspublic static StyleSet faded(String name, StyleSet base, int opaqueLimit)
name
- name of the returned style setbase
- style set on which the returns will be basedopaqueLimit
- initial opaque limit of styles dispensed by
the returnpublic static Icon getIcon(StyleSet styleSet)
styleSet
- style setstyles
public static StyleSet lines(String name)
name
- set namepublic static StyleSet lines(String name, Color[] colors)
name
- set namecolors
- colour sequenceCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.