com.iver.cit.gvsig.fmap.core.v02
Class FGraphicUtilities

java.lang.Object
  extended bycom.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities

public class FGraphicUtilities
extends java.lang.Object

Clase con métodos estáticos para dibujar sobre el Graphics que se les pase como parámetro.

Author:
fjp

Constructor Summary
FGraphicUtilities()
           
 
Method Summary
static void DrawLabel(java.awt.Graphics2D g2, java.awt.geom.AffineTransform mT, FShape shp, FSymbol theSymbol, FLabel theLabel)
          Dibuja el FLabel que se pasa como parámetro sobre el Graphics2D.
static void DrawShape(java.awt.Graphics2D g2, java.awt.geom.AffineTransform mT, FShape shp, FSymbol theSymbol)
          Dibuja el shape que se pasa como parámetro con las características que aporta el símbolo sobre el Graphics2D.
static void DrawSymbol(java.awt.Graphics2D g2, java.awt.geom.AffineTransform mT2, java.awt.Rectangle r, FSymbol symbol)
          Dibuja el símbolo que se le pasa como parámetro en el Graphics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FGraphicUtilities

public FGraphicUtilities()
Method Detail

DrawSymbol

public static void DrawSymbol(java.awt.Graphics2D g2,
                              java.awt.geom.AffineTransform mT2,
                              java.awt.Rectangle r,
                              FSymbol symbol)
Dibuja el símbolo que se le pasa como parámetro en el Graphics.

Parameters:
g2 - Graphics2D sobre el que dibujar.
mT2 - Matriz de transformación.
r - Rectángulo.
symbol - Símbolo a dibujar.

DrawShape

public static void DrawShape(java.awt.Graphics2D g2,
                             java.awt.geom.AffineTransform mT,
                             FShape shp,
                             FSymbol theSymbol)
Dibuja el shape que se pasa como parámetro con las características que aporta el símbolo sobre el Graphics2D.

Parameters:
g2 - Graphics2D sobre el que dibujar.
mT - Matriz de transformación.
shp - FShape a dibujar.
theSymbol - Símbolo.

DrawLabel

public static void DrawLabel(java.awt.Graphics2D g2,
                             java.awt.geom.AffineTransform mT,
                             FShape shp,
                             FSymbol theSymbol,
                             FLabel theLabel)
Dibuja el FLabel que se pasa como parámetro sobre el Graphics2D.

Parameters:
g2 - Graphics2D sobre el que dibujar.
mT - Matriz de transformación.
shp - FShape a dibujar.
theSymbol - Símbolo para aplicar.
theLabel - FLabel que contiene el texto que se debe dibujar.