Revision 38563 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/styling/labeling/LabelClass.java
LabelClass.java | ||
---|---|---|
452 | 452 |
int height = (int) Math.round(xy[1] - y) ; |
453 | 453 |
|
454 | 454 |
Rectangle textRect = new Rectangle(x, y, width, height); |
455 |
Shape oldClip = graphics.getClip(); |
|
456 |
graphics.setClip(textRect); |
|
455 |
// Shape oldClip = graphics.getClip();
|
|
456 |
// graphics.setClip(textRect);
|
|
457 | 457 |
getTextSymbol().drawInsideRectangle(graphics, null, textRect, null); |
458 |
graphics.setClip(oldClip); |
|
458 |
// graphics.setClip(oldClip); |
|
459 |
// graphics.draw(textRect); |
|
459 | 460 |
} |
460 | 461 |
} |
461 | 462 |
} else { |
Also available in: Unified diff