public interface RectanglePainter
Serializable and immutable. Immutability is
desirable because painters are assigned to Chart3D instances, and
there is no change notification if the painter can be modified directly.
In addition, a single painter can be shared amongst multiple charts.| Modifier and Type | Method and Description |
|---|---|
void |
fill(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
Fills the specified rectangle (where "fill" is some arbitrary drawing
operation defined by the class that implements this interface).
|
void fill(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D bounds)
g2 - the graphics target (null not permitted).bounds - the rectangle (null not permitted).