Constructor and Description |
---|
TextStroke(String text,
FontMetrics font,
boolean rotate) |
TextStroke(String text,
FontMetrics font,
boolean stretchToFit,
boolean repeat,
boolean rotate) |
TextStroke(String text,
FontMetrics font,
boolean stretchToFit,
float offsetX,
float offsetY) |
Modifier and Type | Method and Description |
---|---|
Shape |
createStrokedShape(Shape shape) |
static float |
measurePathLength(Shape shape) |
public TextStroke(String text, FontMetrics font, boolean rotate)
public TextStroke(String text, FontMetrics font, boolean stretchToFit, boolean repeat, boolean rotate)
public TextStroke(String text, FontMetrics font, boolean stretchToFit, float offsetX, float offsetY)
public Shape createStrokedShape(Shape shape)
createStrokedShape
in interface Stroke
public static float measurePathLength(Shape shape)
Revision 4.0.15 / 20220727-0149