org.deegree.rendering.r2d.strokes
Class TextStroke
java.lang.Object
org.deegree.rendering.r2d.strokes.TextStroke
- All Implemented Interfaces:
- Stroke
public class TextStroke
- extends Object
- implements Stroke
TextStroke
- Version:
- $Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
- Author:
- Jerry Huxtable, Andreas Schmitz, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextStroke
public TextStroke(String text,
Font font,
LinePlacement linePlacement)
- Parameters:
text
- font
- linePlacement
-
createStrokedShape
public Shape createStrokedShape(Shape shape)
- Specified by:
createStrokedShape
in interface Stroke
getLineHeight
public double getLineHeight()
- Returns:
- the calculated line height
Copyright © 2011. All Rights Reserved.