Class TGLabelOp

java.lang.Object
  extended by TGLabelOp
All Implemented Interfaces:
TGGraphicsOp

public class TGLabelOp
extends java.lang.Object
implements TGGraphicsOp

This class implements a TurtleGraphics LABEL graphics operation.


Constructor Summary
TGLabelOp(java.lang.String label, TGPoint where, java.awt.Font font, java.awt.Color color)
           
 
Method Summary
 java.awt.Rectangle doIt(java.awt.image.BufferedImage inMemoryImage)
          Perform an operation on (do something) with the provided Image and return a Rectangle which is a cliprect for the area of the Image that was changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGLabelOp

public TGLabelOp(java.lang.String label,
                 TGPoint where,
                 java.awt.Font font,
                 java.awt.Color color)
Method Detail

doIt

public java.awt.Rectangle doIt(java.awt.image.BufferedImage inMemoryImage)
Description copied from interface: TGGraphicsOp
Perform an operation on (do something) with the provided Image and return a Rectangle which is a cliprect for the area of the Image that was changed.

Specified by:
doIt in interface TGGraphicsOp
Parameters:
inMemoryImage - the object on which to draw
Returns:
Rectangle bounds of the pixels in the Image that were changed