java.lang.Object | |
↳ | org.jfree.chart.ClipPath |
This class is deprecated.
This class is no longer supported (as of version 1.0.4). If
you are creating contour plots, please try to use XYPlot
and
XYBlockRenderer
.
This class would typically be used with a
ContourPlot
. It allows the user to define a
GeneralPath
curve in plot coordinates. This curve can then be
used mask off or define regions within the contour plot. The data must be
sorted.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for ClipPath.
| |||||||||||
Constructor for ClipPath.
| |||||||||||
Constructor for ClipPath.
| |||||||||||
Constructor for ClipPath.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the object (a deeper clone than default to avoid bugs
when setting values in cloned object).
| |||||||||||
Draws the clip path.
| |||||||||||
Generates the clip path.
| |||||||||||
Returns the composite.
| |||||||||||
Returns the drawPaint.
| |||||||||||
Returns the drawStroke.
| |||||||||||
Returns the fillPaint.
| |||||||||||
Returns the xValue.
| |||||||||||
Returns the yValue.
| |||||||||||
Returns the clip.
| |||||||||||
Returns the drawPath.
| |||||||||||
Returns the fillPath.
| |||||||||||
Sets the clip.
| |||||||||||
Sets the composite.
| |||||||||||
Sets the drawPaint.
| |||||||||||
Sets the drawPath.
| |||||||||||
Sets the drawStroke.
| |||||||||||
Sets the fillPaint.
| |||||||||||
Sets the fillPath.
| |||||||||||
Sets the xValue.
| |||||||||||
Sets the yValue.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructor for ClipPath.
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.
xValue | x coordinates of curved to be created |
---|---|
yValue | y coordinates of curved to be created |
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.
xValue | x coordinates of curved to be created |
---|---|
yValue | y coordinates of curved to be created |
clip | clip? |
fillPath | whether the path is to filled |
drawPath | whether the path is to drawn as an outline |
Constructor for ClipPath.
xValue | x coordinates of curved to be created |
---|---|
yValue | y coordinates of curved to be created |
fillPath | whether the path is to filled |
drawPath | whether the path is to drawn as an outline |
fillPaint | the fill paint |
drawPaint | the outline stroke color |
drawStroke | the stroke style |
composite | the composite rule |
Returns a clone of the object (a deeper clone than default to avoid bugs when setting values in cloned object).
CloneNotSupportedException | if cloning is not supported. |
---|
Draws the clip path.
g2 | current graphics2D. |
---|---|
dataArea | the dataArea that the plot is being draw in. |
horizontalAxis | the horizontal axis. |
verticalAxis | the vertical axis. |
Generates the clip path.
dataArea | the dataArea that the plot is being draw in. |
---|---|
horizontalAxis | the horizontal axis. |
verticalAxis | the vertical axis. |
Returns the xValue.
Returns the yValue.
Returns the clip.
Returns the drawPath.
Returns the fillPath.
Sets the clip.
clip | The clip to set |
---|
Sets the composite.
composite | The composite to set |
---|
Sets the drawPaint.
drawPaint | The drawPaint to set |
---|
Sets the drawPath.
drawPath | The drawPath to set |
---|
Sets the drawStroke.
drawStroke | The drawStroke to set |
---|
Sets the fillPaint.
fillPaint | The fillPaint to set |
---|
Sets the fillPath.
fillPath | The fillPath to set |
---|
Sets the xValue.
xValue | The xValue to set |
---|
Sets the yValue.
yValue | The yValue to set |
---|