Bartosz Firyn (SarXos)

com.github.sarxos.webcam
Interface WebcamPanel.Painter

All Known Implementing Classes:
WebcamPanel.DefaultPainter
Enclosing class:
WebcamPanel

public static interface WebcamPanel.Painter

Interface of the painter used to draw image in panel.

Author:
Bartosz Firyn (SarXos)

Method Summary
 void paintImage(WebcamPanel panel, BufferedImage image, Graphics2D g2)
          Paints webcam image in panel.
 void paintPanel(WebcamPanel panel, Graphics2D g2)
          Paints panel without image.
 

Method Detail

paintPanel

void paintPanel(WebcamPanel panel,
                Graphics2D g2)
Paints panel without image.

Parameters:
g2 - the graphics 2D object used for drawing

paintImage

void paintImage(WebcamPanel panel,
                BufferedImage image,
                Graphics2D g2)
Paints webcam image in panel.

Parameters:
g2 - the graphics 2D object used for drawing

Bartosz Firyn (SarXos)

Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.