CH.ifa.draw.framework
Interface Painter
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- BufferedUpdateStrategy, PatternPainter, SimpleUpdateStrategy
public interface Painter extends java.io.SerializablePainter defines the interface for drawing a layer into a DrawingView.
Design Patterns
Strategy
Painter encapsulates an algorithm to render something in the DrawingView. The DrawingView plays the role of the StrategyContext.- See Also:
DrawingView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics g, DrawingView view)Draws into the given DrawingView.
-
-
-
Method Detail
-
draw
void draw(java.awt.Graphics g, DrawingView view)Draws into the given DrawingView.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG