com.orsoncharts.table

## Interface RectanglePainter

- All Known Implementing Classes:
    GradientRectanglePainter, StandardRectanglePainter

      public interface RectanglePainter

  An object that can paint a rectangular region with a color, gradient, image or anything.
  NOTE: It is recommended that classes that implement this interface are designed to be `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.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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).

- - ### Method Detail

    - #### fill

          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).
      Parameters:
        `g2` - the graphics target (`null` not permitted).
        `bounds` - the rectangle (`null` not permitted).