/* * @(#)Painter.java 5.2 * */ package CH.ifa.draw.framework; import java.awt.*; import java.io.Serializable; /** * Painter defines the interface for drawing a layer * into a DrawingView.
* *
*
* Strategy
* Painter encapsulates an algorithm to render something in
* the DrawingView. The DrawingView plays the role of the StrategyContext.
*