public class RenderStyle
extends java.lang.Object
Constructor and Description |
---|
RenderStyle(java.lang.String name)
Instantiates a new render style.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getDrawColor()
Gets the draw color.
|
java.awt.Color |
getFillColor()
Gets the fill color.
|
java.awt.Font |
getFont()
Gets the font.
|
int |
getLineWidth()
Gets the line width.
|
MarkerIcon |
getMarkerIcon()
Get the icon for representing markers.
|
java.awt.Shape |
getMarkerShape()
Gets the marker shape.
|
java.lang.String |
getName()
Gets the name.
|
void |
setDrawColor(java.awt.Color color)
Sets the draw color.
|
void |
setFillColor(java.awt.Color color)
Sets the fill color.
|
void |
setFont(java.awt.Font newFont)
Sets the font.
|
void |
setLineWidth(int width)
Sets the line width.
|
void |
setMarkerIcon(MarkerIcon icon)
Set the icon for representing markers.
|
void |
setMarkerShape(java.awt.Shape shape)
Sets the marker shape.
|
public RenderStyle(java.lang.String name)
name
- the name of the render stylepublic java.awt.Color getDrawColor()
public java.awt.Color getFillColor()
public java.awt.Font getFont()
public int getLineWidth()
public MarkerIcon getMarkerIcon()
public java.awt.Shape getMarkerShape()
public java.lang.String getName()
public void setDrawColor(java.awt.Color color)
color
- the new draw colorpublic void setFillColor(java.awt.Color color)
color
- the new fill colorpublic void setFont(java.awt.Font newFont)
newFont
- the new fontpublic void setLineWidth(int width)
width
- the new line widthpublic void setMarkerIcon(MarkerIcon icon)
icon
- the marker iconpublic void setMarkerShape(java.awt.Shape shape)
shape
- the new marker shape