org.deegree.rendering.r2d.strokes
Class TextStroke

java.lang.Object
  extended by 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 $

Constructor Summary
TextStroke(String text, Font font, LinePlacement linePlacement)
           
 
Method Summary
 Shape createStrokedShape(Shape shape)
           
 double getLineHeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextStroke

public TextStroke(String text,
                  Font font,
                  LinePlacement linePlacement)
Parameters:
text -
font -
linePlacement -
Method Detail

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.