| java.lang.Object org.jfree.chart.ClipPath
Constructor Summary | |
public | ClipPath() Constructor for ClipPath. | public | ClipPath(double[] xValue, double[] yValue) Constructor for ClipPath.
Default values are assumed for the fillPath and drawPath options as
false and true respectively. | public | ClipPath(double[] xValue, double[] yValue, boolean clip, boolean fillPath, boolean drawPath) Constructor for ClipPath. | public | ClipPath(double[] xValue, double[] yValue, boolean fillPath, boolean drawPath, Paint fillPaint, Paint drawPaint, Stroke drawStroke, Composite composite) Constructor for ClipPath. |
ClipPath | public ClipPath()(Code) | | Constructor for ClipPath.
|
ClipPath | public ClipPath(double[] xValue, double[] yValue)(Code) | | Constructor for ClipPath.
Default values are assumed for the fillPath and drawPath options as
false and true respectively. The fillPaint is set to Color.GRAY, the
drawColor is Color.BLUE, the stroke is BasicStroke(1)
and the composite is AlphaComposite.Src.
Parameters: xValue - x coordinates of curved to be created Parameters: yValue - y coordinates of curved to be created |
ClipPath | public ClipPath(double[] xValue, double[] yValue, boolean clip, boolean fillPath, boolean drawPath)(Code) | | Constructor for ClipPath.
The fillPaint is set to Color.GRAY, the drawColor is Color.BLUE, the
stroke is BasicStroke(1) and the composite is AlphaComposite.Src.
Parameters: xValue - x coordinates of curved to be created Parameters: yValue - y coordinates of curved to be created Parameters: clip - clip? Parameters: fillPath - whether the path is to filled Parameters: drawPath - whether the path is to drawn as an outline |
ClipPath | public ClipPath(double[] xValue, double[] yValue, boolean fillPath, boolean drawPath, Paint fillPaint, Paint drawPaint, Stroke drawStroke, Composite composite)(Code) | | Constructor for ClipPath.
Parameters: xValue - x coordinates of curved to be created Parameters: yValue - y coordinates of curved to be created Parameters: fillPath - whether the path is to filled Parameters: drawPath - whether the path is to drawn as an outline Parameters: fillPaint - the fill paint Parameters: drawPaint - the outline stroke color Parameters: drawStroke - the stroke style Parameters: composite - the composite rule |
draw | public GeneralPath draw(Graphics2D g2, Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)(Code) | | Draws the clip path.
Parameters: g2 - current graphics2D. Parameters: dataArea - the dataArea that the plot is being draw in. Parameters: horizontalAxis - the horizontal axis. Parameters: verticalAxis - the vertical axis. The GeneralPath defining the outline |
generateClipPath | public GeneralPath generateClipPath(Rectangle2D dataArea, ValueAxis horizontalAxis, ValueAxis verticalAxis)(Code) | | Generates the clip path.
Parameters: dataArea - the dataArea that the plot is being draw in. Parameters: horizontalAxis - the horizontal axis. Parameters: verticalAxis - the vertical axis. The GeneralPath defining the outline |
getComposite | public Composite getComposite()(Code) | | Returns the composite.
Composite |
getDrawPaint | public Paint getDrawPaint()(Code) | | Returns the drawPaint.
Paint |
getDrawStroke | public Stroke getDrawStroke()(Code) | | Returns the drawStroke.
Stroke |
getFillPaint | public Paint getFillPaint()(Code) | | Returns the fillPaint.
Paint |
getXValue | public double[] getXValue()(Code) | | Returns the xValue.
double[] |
getYValue | public double[] getYValue()(Code) | | Returns the yValue.
double[] |
isClip | public boolean isClip()(Code) | | Returns the clip.
boolean |
isDrawPath | public boolean isDrawPath()(Code) | | Returns the drawPath.
boolean |
isFillPath | public boolean isFillPath()(Code) | | Returns the fillPath.
boolean |
setClip | public void setClip(boolean clip)(Code) | | Sets the clip.
Parameters: clip - The clip to set |
setComposite | public void setComposite(Composite composite)(Code) | | Sets the composite.
Parameters: composite - The composite to set |
setDrawPaint | public void setDrawPaint(Paint drawPaint)(Code) | | Sets the drawPaint.
Parameters: drawPaint - The drawPaint to set |
setDrawPath | public void setDrawPath(boolean drawPath)(Code) | | Sets the drawPath.
Parameters: drawPath - The drawPath to set |
setDrawStroke | public void setDrawStroke(Stroke drawStroke)(Code) | | Sets the drawStroke.
Parameters: drawStroke - The drawStroke to set |
setFillPaint | public void setFillPaint(Paint fillPaint)(Code) | | Sets the fillPaint.
Parameters: fillPaint - The fillPaint to set |
setFillPath | public void setFillPath(boolean fillPath)(Code) | | Sets the fillPath.
Parameters: fillPath - The fillPath to set |
setXValue | public void setXValue(double[] xValue)(Code) | | Sets the xValue.
Parameters: xValue - The xValue to set |
setYValue | public void setYValue(double[] yValue)(Code) | | Sets the yValue.
Parameters: yValue - The yValue to set |
|
|