Package cnuphys.splot.style
Interface IStyled
- All Known Implementing Classes:
Styled
public interface IStyled
-
Method Summary
Modifier and TypeMethodDescriptionGet the color used for auxiliary lines.Get the style used for drawing fits.float
Get the line width for drawing auxiliary lines.Get the color used for symbol borders.Get the color used for fill the interior area.Get the color used for fits.Get the style used for drawing fits.float
Get the line width for drawing fits.int
Get the symbol size (full width) in pixels.Get the symbol used for drawing points.void
setAuxLineColor
(Color auxColor) Set the color used for auxiliary lines.void
setAuxLineStyle
(LineStyle lineStyle) Set the style used for drawing auxiliary lines.void
setAuxLineWidth
(float lineWidth) Set the line width for drawing auxiliary lines.void
setBorderColor
(Color borderColor) Set the color used for symbol borders.void
setFillColor
(Color fillColor) Set the color used for fill the interior area.void
setFitLineColor
(Color fitColor) Set the color used for the fit drawing.void
setFitLineStyle
(LineStyle lineStyle) Set the style used for drawing fits.void
setFitLineWidth
(float lineWidth) Set the line width for drawing fit lines.void
setSymbolSize
(int symbolSize) Set symbol size (full width) in pixels.void
setSymbolType
(SymbolType symbolType) Set the symbol used for drawing points.
-
Method Details
-
getFillColor
Color getFillColor()Get the color used for fill the interior area.- Returns:
- the fill color.
-
setFillColor
Set the color used for fill the interior area.- Parameters:
fillColor
- the fill color.
-
getBorderColor
Color getBorderColor()Get the color used for symbol borders.- Returns:
- the symbol border color.
-
setBorderColor
Set the color used for symbol borders.- Parameters:
borderColor
- the border color.
-
getFitLineColor
Color getFitLineColor()Get the color used for fits.- Returns:
- the fit line color.
-
getAuxLineColor
Color getAuxLineColor()Get the color used for auxiliary lines.- Returns:
- the auxiliary line color.
-
setFitLineColor
Set the color used for the fit drawing.- Parameters:
fitColor
- the fit color.
-
setAuxLineColor
Set the color used for auxiliary lines.- Parameters:
auxColor
- the auxiliary line color.
-
getFitLineStyle
LineStyle getFitLineStyle()Get the style used for drawing fits.- Returns:
- the line style for fits.
-
getAuxLineStyle
LineStyle getAuxLineStyle()Get the style used for drawing fits.- Returns:
- the line style for fits.
-
setFitLineStyle
Set the style used for drawing fits.- Parameters:
lineStyle
- the fit line style.
-
setAuxLineStyle
Set the style used for drawing auxiliary lines.- Parameters:
lineStyle
- the auxiliary line style.
-
getSymbolType
SymbolType getSymbolType()Get the symbol used for drawing points.- Returns:
- the symbol used for drawing points.
-
setSymbolType
Set the symbol used for drawing points.- Parameters:
symbolType
- the symbol used for drawing points.
-
getFitLineWidth
float getFitLineWidth()Get the line width for drawing fits.- Returns:
- the fit line width in pixels.
-
getAuxLineWidth
float getAuxLineWidth()Get the line width for drawing auxiliary lines.- Returns:
- the auxiliary line width in pixels.
-
setFitLineWidth
void setFitLineWidth(float lineWidth) Set the line width for drawing fit lines.- Parameters:
lineWidth
- the line width in pixels.
-
setAuxLineWidth
void setAuxLineWidth(float lineWidth) Set the line width for drawing auxiliary lines.- Parameters:
lineWidth
- the auxiliary line width in pixels.
-
getSymbolSize
int getSymbolSize()Get the symbol size (full width) in pixels.- Returns:
- the symbol size (full width) in pixels.
-
setSymbolSize
void setSymbolSize(int symbolSize) Set symbol size (full width) in pixels.- Parameters:
symbolSize
- symbol size (full width) in pixels.
-