com.bbn.openmap.omGraphics.awt
Interface ShapeRenderer

All Known Implementing Classes:
DrawingAttributes, FeatureDrawingAttributes, GraphicAttributes

public interface ShapeRenderer


Method Summary
 void render(java.awt.Graphics2D g, java.awt.Shape shape)
          Render the Shape into the Graphics2D object.
 void render(java.awt.Graphics2D g, java.awt.Shape shape, boolean replaceColorWithGradient)
          Render the Shape into the Graphics2D object.
 

Method Detail

render

void render(java.awt.Graphics2D g,
            java.awt.Shape shape)
Render the Shape into the Graphics2D object.


render

void render(java.awt.Graphics2D g,
            java.awt.Shape shape,
            boolean replaceColorWithGradient)
Render the Shape into the Graphics2D object.

Parameters:
g - java.awt.Graphics2D object to render into
shape - java.awt.Shape to draw
replaceColorWithGradient - flag to specify replacement of fill and edge colors with a GradientPaint to give a light to dark look.


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details