public interface RectanglePainter
Serializableand immutable. Immutability is desirable because painters are assigned to
Chart3Dinstances, 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|
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 (
bounds- the rectangle (