edu.uci.ics.jung.visualization.transform.shape
Class TransformingFlatnessGraphics

java.lang.Object
  extended by edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper
      extended by edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator
          extended by edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
              extended by edu.uci.ics.jung.visualization.transform.shape.TransformingFlatnessGraphics
Direct Known Subclasses:
MagnifyIconGraphics

public class TransformingFlatnessGraphics
extends TransformingGraphics

subclassed to pass certain operations thru the transformer before the base class method is applied This is useful when you want to apply non-affine transformations to the Graphics2D used to draw elements of the graph.

Author:
Tom Nelson

Field Summary
 
Fields inherited from class edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
transformer
 
Fields inherited from class edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper
delegate
 
Constructor Summary
TransformingFlatnessGraphics(BidirectionalTransformer transformer)
           
TransformingFlatnessGraphics(BidirectionalTransformer transformer, Graphics2D delegate)
           
 
Method Summary
 void draw(Shape s, float flatness)
           
 void fill(Shape s, float flatness)
           
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics
create, dispose, draw, drawImage, drawImage, fill, getTransformer, hit, setTransformer
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator
draw, draw
 
Methods inherited from class edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper
addRenderingHints, clearRect, clip, clipRect, copyArea, create, draw3DRect, drawArc, drawBytes, drawChars, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, equals, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDelegate, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hashCode, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setDelegate, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformingFlatnessGraphics

public TransformingFlatnessGraphics(BidirectionalTransformer transformer)

TransformingFlatnessGraphics

public TransformingFlatnessGraphics(BidirectionalTransformer transformer,
                                    Graphics2D delegate)
Method Detail

draw

public void draw(Shape s,
                 float flatness)
Overrides:
draw in class TransformingGraphics

fill

public void fill(Shape s,
                 float flatness)
Overrides:
fill in class TransformingGraphics


Copyright © 2009. All Rights Reserved.