org.deegree.rendering.r2d.strokes
Class TextStroke

java.lang.Object
  extended by org.deegree.rendering.r2d.strokes.TextStroke
All Implemented Interfaces:
java.awt.Stroke

public class TextStroke
extends java.lang.Object
implements java.awt.Stroke

TextStroke

Version:
$Revision: 24751 $, $Date: 2010-06-08 11:16:43 +0200 (Di, 08. Jun 2010) $
Author:
Jerry Huxtable, Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
TextStroke(java.lang.String text, java.awt.Font font, LinePlacement linePlacement)
           
 
Method Summary
 java.awt.Shape createStrokedShape(java.awt.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(java.lang.String text,
                  java.awt.Font font,
                  LinePlacement linePlacement)
Parameters:
text -
font -
linePlacement -
Method Detail

createStrokedShape

public java.awt.Shape createStrokedShape(java.awt.Shape shape)
Specified by:
createStrokedShape in interface java.awt.Stroke

getLineHeight

public double getLineHeight()
Returns:
the calculated line height


Copyright © 2011. All Rights Reserved.