public class PlotStyle extends PropertiesHolder
NL| Constructor and Description |
|---|
PlotStyle()
Creates a new instance of PlotStyle with default parameters
|
PlotStyle(Style style)
Creates a new instance of PlotStyle with a specified style
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendProperties(java.lang.StringBuilder buf)
Gather the properties of this style.
|
void |
setFill(FillStyle fillstyle)
Set the fill style of this graph.
|
void |
setLineType(int type)
Set the line type of this graph.
|
void |
setLineType(PlotColor col)
Set the line type of this graph to be a specific color.
|
void |
setLineWidth(int width)
Set the line width of this graph
|
void |
setPointSize(int width)
Set the point size of this graph
|
void |
setPointType(int type)
Set the point type of this graph.
|
void |
setStyle(Style style)
Set the current style to the given one
|
set, set, unsetclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic PlotStyle()
public PlotStyle(Style style)
style - The style to usepublic void setStyle(Style style)
style - the style to usepublic void appendProperties(java.lang.StringBuilder buf)
appendProperties in class PropertiesHolderbuf - The Srting buffer to store this object's properties.public void setLineWidth(int width)
width - The line width. If this number is less than zero, then the
default parameter will be usedpublic void setPointSize(int width)
width - The point size. If this number is less than zero, then the
default parameter will be usedpublic void setLineType(int type)
type - The line type. If this number is less than zero, then the
default parameter will be usedpublic void setLineType(PlotColor col)
col - The color to use. If this parameter is null, then the default
parameter will be used.public void setPointType(int type)
type - The point type. If this number is less than zero, then the
default parameter will be usedpublic void setFill(FillStyle fillstyle)
fillstyle - The fill style to use. If this parameter is null, then
the default parameter will be used.