|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uci.ics.jung.visualization.transform.shape.Graphics2DWrapper edu.uci.ics.jung.visualization.transform.shape.GraphicsDecorator edu.uci.ics.jung.visualization.transform.shape.TransformingGraphics edu.uci.ics.jung.visualization.transform.shape.TransformingFlatnessGraphics
public class TransformingFlatnessGraphics
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.
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 java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransformingFlatnessGraphics(BidirectionalTransformer transformer)
public TransformingFlatnessGraphics(BidirectionalTransformer transformer, Graphics2D delegate)
Method Detail |
---|
public void draw(Shape s, float flatness)
draw
in class TransformingGraphics
public void fill(Shape s, float flatness)
fill
in class TransformingGraphics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |