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