|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.MarkStyles
public class MarkStyles
Provides several factory methods for constructing StyleSets
which dispense MarkStyle
s.
Constructor Summary | |
---|---|
MarkStyles()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkStyles()
Method Detail |
---|
public static StyleSet points(String name)
name
- set name
public static StyleSet points(String name, Color[] colors)
name
- set namecolors
- colour sequence
public static StyleSet spots(String name, int size)
name
- set namesize
- approximate radius of markers
public static StyleSet openShapes(String name, int size, Color color)
name
- set namesize
- approximate radius of markerscolor
- color of markers, or null for various
public static StyleSet filledShapes(String name, int size, Color color)
name
- set namesize
- approximate radius of markerscolor
- color of markers, or null for various
public 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 return
public static Icon getIcon(StyleSet styleSet)
styleSet
- style set
styles
public static StyleSet lines(String name)
name
- set name
public static StyleSet lines(String name, Color[] colors)
name
- set namecolors
- colour sequence
public static StyleSet dashedLines(String name)
name
- set name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |