com.alee.graphics.strokes
Class TextStroke
java.lang.Object
com.alee.graphics.strokes.TextStroke
- All Implemented Interfaces:
- java.awt.Stroke
public class TextStroke
- extends java.lang.Object
- implements java.awt.Stroke
User: mgarin Date: 14.06.11 Time: 18:03
Constructor Summary |
TextStroke(java.lang.String text,
java.awt.Font font)
|
TextStroke(java.lang.String text,
java.awt.Font font,
boolean stretchToFit,
boolean repeat)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextStroke
public TextStroke(java.lang.String text,
java.awt.Font font)
TextStroke
public TextStroke(java.lang.String text,
java.awt.Font font,
boolean stretchToFit,
boolean repeat)
createStrokedShape
public java.awt.Shape createStrokedShape(java.awt.Shape shape)
- Specified by:
createStrokedShape
in interface java.awt.Stroke
measurePathLength
public float measurePathLength(java.awt.Shape shape)