com.orsoncharts.table

## Interface TableElementOnDraw

- All Known Implementing Classes:
    OnDrawHandler

      public interface TableElementOnDraw

  An interface that provides access to the `TableElement` rendering process.
  Since:
    1.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterDraw(TableElement element, java.awt.Graphics2D g2, java.awt.geom.Rectangle2D bounds)` A callback method that is called after an element is drawn.
    `void` | `beforeDraw(TableElement element, java.awt.Graphics2D g2, java.awt.geom.Rectangle2D bounds)` A callback method that is called before an element is drawn.

- - ### Method Detail

    - #### beforeDraw

          void beforeDraw(TableElement element,
                          java.awt.Graphics2D g2,
                          java.awt.geom.Rectangle2D bounds)

      A callback method that is called before an element is drawn.
      Parameters:
        `element` - the element (`null` not permitted).
        `g2` - the graphics target (`null` not permitted).
        `bounds` - the bounds (`null` not permitted).

    - #### afterDraw

          void afterDraw(TableElement element,
                         java.awt.Graphics2D g2,
                         java.awt.geom.Rectangle2D bounds)

      A callback method that is called after an element is drawn.
      Parameters:
        `element` - the element (`null` not permitted).
        `g2` - the graphics target (`null` not permitted).
        `bounds` - the bounds (`null` not permitted).