Revision 11243 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/styling/LabelClass.java

View differences:

LabelClass.java
43 43
 *
44 44
 * $Id$
45 45
 * $Log$
46
 * Revision 1.7  2007-04-12 14:28:43  jaume
46
 * Revision 1.8  2007-04-18 15:35:11  jaume
47
 * *** empty log message ***
48
 *
49
 * Revision 1.7  2007/04/12 14:28:43  jaume
47 50
 * basic labeling support for lines
48 51
 *
49 52
 * Revision 1.6  2007/04/11 16:01:08  jaume
......
83 86
 */
84 87
package com.iver.cit.gvsig.fmap.rendering.styling;
85 88

  
86
import java.awt.Color;
87 89
import java.awt.Graphics2D;
88
import java.awt.Point;
89 90
import java.awt.Rectangle;
90 91
import java.awt.geom.AffineTransform;
91 92
import java.awt.geom.PathIterator;
92
import java.awt.geom.Point2D;
93 93
import java.awt.geom.Rectangle2D;
94 94

  
95
import org.opengis.layer.Attribution;
96

  
97 95
import com.iver.cit.gvsig.fmap.core.FPoint2D;
98 96
import com.iver.cit.gvsig.fmap.core.FPolygon2D;
99
import com.iver.cit.gvsig.fmap.core.FPolyline2D;
100 97
import com.iver.cit.gvsig.fmap.core.FShape;
101 98
import com.iver.cit.gvsig.fmap.core.GeneralPathX;
102 99
import com.iver.cit.gvsig.fmap.core.IGeometry;
......
173 170
		this.texts = texts;
174 171
	}
175 172

  
176
	public void drawTransformed(Graphics2D graphics, Rectangle bounds) {
177

  
178
	}
179 173
	public void drawInsideRectangle(Graphics2D graphics, Rectangle bounds) {
180 174
		if (labelStyle != null) {
181 175
			// apply the offset to the markerPoint
182 176

  
183
			graphics.setColor(Color.RED);
184
			graphics.draw(bounds);
185 177
			labelStyle.drawInsideRectangle(graphics, bounds);
186 178

  
187 179
			for (int i = 0; i < texts.length; i++) {

Also available in: Unified diff