public class ShapeTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static Shape |
getPolylineShape(float[][] points,
boolean curved,
boolean closedPath)
Returns the shape of a polyline.
|
static Shape |
getShape(float[][] points,
boolean closedPath,
AffineTransform transform)
Returns the shape matching the coordinates in
points array. |
static Shape |
getShape(String svgPathShape)
Returns the AWT shape matching the given SVG path shape.
|
static Stroke |
getStroke(float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
float[] dashPattern,
float dashOffset)
Returns the line stroke matching the given line styles.
|
public static Stroke getStroke(float thickness, Polyline.CapStyle capStyle, Polyline.JoinStyle joinStyle, float[] dashPattern, float dashOffset)
public static Shape getPolylineShape(float[][] points, boolean curved, boolean closedPath)
public static Shape getShape(float[][] points, boolean closedPath, AffineTransform transform)
points array.public static Shape getShape(String svgPathShape)

© Copyrights 2006-2019 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License