public final class BoxPlotPainter extends java.lang.Object implements ObjectPainter<BoxPlot>
ObjectPainter that paints a BoxPlot| Constructor and Description |
|---|
BoxPlotPainter()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
paint(java.awt.Graphics2D g,
java.awt.geom.AffineTransform worldToScreen,
double w,
double h,
BoxPlot boxPlot) |
void |
setBoxDrawPaint(java.awt.Paint boxDrawPaint)
Set the paint that will be used for drawing the box
|
void |
setBoxFillPaint(java.awt.Paint boxFillPaint)
Set the paint that will be used for filling the box
|
void |
setMeanPaint(java.awt.Paint meanPaint)
Set the paint that will be used for filling the mean dot
|
void |
setMedianPaint(java.awt.Paint medianPaint)
Set the paint that will be used for drawing the median line
|
void |
setWhiskerPaint(java.awt.Paint whiskerPaint)
Set the paint that will be used for drawing the whisker
|
void |
setWidth(double width)
Set the width of the box plot
|
public void setBoxFillPaint(java.awt.Paint boxFillPaint)
boxFillPaint - The paintpublic void setBoxDrawPaint(java.awt.Paint boxDrawPaint)
boxDrawPaint - The paintpublic void setWhiskerPaint(java.awt.Paint whiskerPaint)
whiskerPaint - The paintpublic void setMedianPaint(java.awt.Paint medianPaint)
medianPaint - The paintpublic void setMeanPaint(java.awt.Paint meanPaint)
meanPaint - The paintpublic void setWidth(double width)
width - The widthpublic void paint(java.awt.Graphics2D g,
java.awt.geom.AffineTransform worldToScreen,
double w,
double h,
BoxPlot boxPlot)
paint in interface ObjectPainter<BoxPlot>Copyright © 2019. All Rights Reserved.