public interface IlvMarker
To define your own instances of this interface, you need to implement
the draw
method.
IlvMarkerFactory
Modifier and Type | Field and Description |
---|---|
static int |
CIRCLE
Deprecated.
Please use
IlvMarkerFactory.CIRCLE instead. |
static int |
CROSS
Deprecated.
Please use
IlvMarkerFactory.CROSS instead. |
static int |
DIAMOND
Deprecated.
Please use
IlvMarkerFactory.DIAMOND instead. |
static int |
NONE
Deprecated.
Please use
IlvMarkerFactory.NONE instead. |
static int |
PLUS
Deprecated.
Please use
IlvMarkerFactory.PLUS instead. |
static int |
SQUARE
Deprecated.
Please use
IlvMarkerFactory.SQUARE instead. |
static int |
TRIANGLE
Deprecated.
Please use
IlvMarkerFactory.TRIANGLE instead. |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics dst,
int x,
int y,
int size,
IlvStyle style)
Draws the marker of the specified size at the given position with the given
renderer.
|
@Deprecated static final int SQUARE
IlvMarkerFactory.SQUARE
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int DIAMOND
IlvMarkerFactory.DIAMOND
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int CIRCLE
IlvMarkerFactory.CIRCLE
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int PLUS
IlvMarkerFactory.PLUS
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int CROSS
IlvMarkerFactory.CROSS
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int TRIANGLE
IlvMarkerFactory.TRIANGLE
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Values@Deprecated static final int NONE
IlvMarkerFactory.NONE
instead.IlvMarkerFactory.getMarker(int)
,
Constant Field Valuesvoid draw(Graphics dst, int x, int y, int size, IlvStyle style)
dst
- The destination Graphics
.x
- The x-coordinate of the center of the marker.y
- The y-coordinate of the center of the marker.size
- The size of the marker. The actual drawing size is
2*size+1
, which ensures that the marker is always centered
at the specified point.style
- The style used to draw the marker.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.