public class IlvMarkerFactory extends Object
IlvMarker
objects. This class
defines six types of marker: Square, Circle, Plus, Cross, Diamond and Triangle
markers. Each shape is drawn by the corresponding
IlvStyle
rendering method.
Here are the different predefined marker types.
IlvMarker
Modifier and Type | Field and Description |
---|---|
static int |
CIRCLE
Predefined circle marker type.
|
static int |
CROSS
Predefined cross marker type.
|
static int |
DIAMOND
Predefined diamond marker type.
|
static int |
NONE
Predefined internal marker type.
|
static int |
PLUS
Predefined plus marker type.
|
static int |
SQUARE
Predefined square marker type.
|
static int |
TRIANGLE
Predefined triangle marker type.
|
Modifier and Type | Method and Description |
---|---|
static IlvMarker |
createCompoundMarker(IlvMarker marker1,
IlvMarker marker2)
Returns a marker combining the specified markers.
|
static IlvMarker |
getCircleMarker()
Returns a shared circle marker instance.
|
static IlvMarker |
getCrossMarker()
Returns a shared cross marker instance.
|
static IlvMarker |
getDiamondMarker()
Returns a shared diamond marker instance.
|
static IlvMarker |
getMarker(int type)
Returns a predefined marker instance.
|
static IlvMarker |
getNoneMarker()
Returns a shared square marker instance.
|
static IlvMarker |
getPlusMarker()
Returns a shared plus marker instance.
|
static IlvMarker |
getSquareMarker()
Returns a shared square marker instance.
|
static IlvMarker |
getTriangleMarker()
Returns a shared triangle marker instance.
|
public static final int SQUARE
IlvSquareMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int DIAMOND
IlvDiamondMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int CIRCLE
IlvCircleMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int PLUS
IlvPlusMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int CROSS
IlvCrossMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int TRIANGLE
IlvTriangleMarker
,
getMarker(int)
,
Constant Field Valuespublic static final int NONE
getMarker(int)
,
Constant Field Valuespublic static IlvMarker getMarker(int type)
public static IlvMarker getNoneMarker()
public static IlvMarker getSquareMarker()
public static IlvMarker getCircleMarker()
public static IlvMarker getPlusMarker()
public static IlvMarker getDiamondMarker()
public static IlvMarker getCrossMarker()
public static IlvMarker getTriangleMarker()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.