Package org.mapsforge.map.awt.graphics
Class TextStroke
java.lang.Object
org.mapsforge.map.awt.graphics.TextStroke
- All Implemented Interfaces:
Stroke
See http://www.jhlabs.com/java/java2d/strokes/
-
Constructor Summary
ConstructorsConstructorDescriptionTextStroke(String text, Font font, FontRenderContext frc) TextStroke(String text, Font font, FontRenderContext frc, boolean stretchToFit, boolean repeat) -
Method Summary
Modifier and TypeMethodDescriptioncreateStrokedShape(Shape shape) floatmeasurePathLength(Shape shape)
-
Constructor Details
-
TextStroke
-
TextStroke
public TextStroke(String text, Font font, FontRenderContext frc, boolean stretchToFit, boolean repeat)
-
-
Method Details
-
createStrokedShape
- Specified by:
createStrokedShapein interfaceStroke
-
measurePathLength
-