Documentation of 'CH.ifa.draw.framework.Painter' Java class
Painter
CH.ifa.draw.framework

Interface Painter

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    BufferedUpdateStrategy, PatternPainter, SimpleUpdateStrategy


    public interface Painter
    extends java.io.Serializable
    Painter defines the interface for drawing a layer into a DrawingView.


    Design Patterns

     o Strategy
    Painter encapsulates an algorithm to render something in the DrawingView. The DrawingView plays the role of the StrategyContext.


    See Also:
    DrawingView
    • Method Detail

      • draw

        void draw(java.awt.Graphics g,
                  DrawingView view)
        Draws into the given DrawingView.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.