|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MarkerStyle
All markers, include Style
s must implement this interface.
Method Summary | |
---|---|
int |
getHeight()
Return the marker style's height. |
String |
getName()
Returns the marker style's name. |
AbstractShape |
getShape(Point center,
int radius,
Color color)
Returns an AbstractShape that renders this marker style with
the given location, size and color. |
int |
getWidth()
Return the marker style's width. |
boolean |
hasConstantDimensions()
Tests whether this marker style has a constant height and width. |
Method Detail |
---|
String getName()
AbstractShape getShape(Point center, int radius, Color color)
AbstractShape
that renders this marker style with
the given location, size and color. Note that if this MarkerStyle
returns true
from hasConstantDimensions()
, the
radius/size parameter of this call will be ignored.
center
- center point of the marker shaperadius
- size of the marker shape (see above)color
- marker color
hasConstantDimensions()
boolean hasConstantDimensions()
getShape(Point, int, Color)
.
getHeight()
,
getWidth()
int getHeight()
hasConstantDimensions()
returns
true
.
hasConstantDimensions()
int getWidth()
hasConstantDimensions()
returns
true
.
hasConstantDimensions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |