public abstract class MarkerShape extends Object
Modifier and Type | Field and Description |
---|---|
static MarkerShape |
CROSS
Factory for cross-hair markers.
|
static MarkerShape |
CROXX
Factory for X-shaped markers.
|
static MarkerShape |
FILLED_CIRCLE
Factory for filled circle markers.
|
static MarkerShape |
FILLED_DIAMOND
Factory for open diamond shaped markers.
|
static MarkerShape |
FILLED_SQUARE
Factory for filled square markers.
|
static MarkerShape |
FILLED_TRIANGLE_DOWN
Factory for filled triangle shaped markers with point at the bottom.
|
static MarkerShape |
FILLED_TRIANGLE_UP
Factory for filled triangle shaped markers with point at the top.
|
static MarkerShape |
OPEN_CIRCLE
Factory for open circle markers.
|
static MarkerShape |
OPEN_DIAMOND
Factory for open diamond shaped markers.
|
static MarkerShape |
OPEN_SQUARE
Factory for open square markers.
|
static MarkerShape |
OPEN_TRIANGLE_DOWN
Factory for open triangle shaped markers with point at the bottom.
|
static MarkerShape |
OPEN_TRIANGLE_UP
Factory for open triangle shaped markers with point at the top.
|
static RenderingHints.Key |
OUTLINE_CIRCLE_HINT
Rendering hint concerning whether to draw outlines on filled circles.
|
static MarkerShape |
POINT
Factory for point-like markers.
|
Modifier | Constructor and Description |
---|---|
protected |
MarkerShape(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract MarkerStyle |
getStyle(Color color,
int size)
Factory method which produces a MarkerStyle of the shape characteristic
of this object with specified colour and nominal size.
|
String |
toString() |
public static RenderingHints.Key OUTLINE_CIRCLE_HINT
public static final MarkerShape POINT
public static final MarkerShape OPEN_CIRCLE
public static final MarkerShape FILLED_CIRCLE
public static final MarkerShape OPEN_SQUARE
public static final MarkerShape FILLED_SQUARE
public static final MarkerShape CROSS
public static final MarkerShape CROXX
public static final MarkerShape OPEN_DIAMOND
public static final MarkerShape FILLED_DIAMOND
public static final MarkerShape OPEN_TRIANGLE_UP
public static final MarkerShape OPEN_TRIANGLE_DOWN
public static final MarkerShape FILLED_TRIANGLE_UP
public static final MarkerShape FILLED_TRIANGLE_DOWN
protected MarkerShape(String name)
name
- shape namepublic abstract MarkerStyle getStyle(Color color, int size)
color
- colour of stylesize
- nominal size of style - any non-negative integer
should give a reasonable imageCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.