org.jfree.chart.plot.dial
Interface DialFrame
- DialLayer
- ArcDialFrame, StandardDialFrame
A dial frame is the face plate for a dial plot - it is always drawn last.
JFreeChart includes a couple of implementations of this interface
(
StandardDialFrame
and
ArcDialFrame
).
Classes that implement this interface should be
Serializable
,
otherwise chart serialization may fail.
Shape | getWindow(Rectangle2D frame) - Returns the shape of the viewing window for the dial, or
null if the dial is completely open.
|
getWindow
public Shape getWindow(Rectangle2D frame)
Returns the shape of the viewing window for the dial, or
null
if the dial is completely open. Other layers in the
plot will rely on their drawing to be clipped within this window.
frame
- the reference frame for the dial.