de.caff.vic

## Interface Paintable

- All Known Implementing Classes:
    PaintableClipShape, PaintableComposite, PaintableGroup, PaintableImage, PaintableRestoreTransform, PaintableShape, PaintableStoreTransform, PaintableTransform

      public interface Paintable

  Basic interface for objects which know how to paint themselves to a graphics context.
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(PaintableVisitor visitor)` Accept a visitor.
    `void` | `paintTo(java.awt.Graphics2D g2, Context context)` Paint this object to the given graphics context.

- - ### Method Detail

    - #### paintTo

          void paintTo(@NotNull
                       java.awt.Graphics2D g2,
                       @NotNull
                       Context context)

      Paint this object to the given graphics context.
      Parameters:
        `g2` - graphics
        `context` - drawing context

    - #### accept

          void accept(@NotNull
                      PaintableVisitor visitor)

      Accept a visitor. This is one half of the visitor pattern.
      Parameters:
        `visitor` - visitor for this paintable