public class ShapeTools
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.Shape |
getPolylineShape(float[][] points,
boolean curved,
boolean closedPath)
Returns the shape of a polyline.
|
static java.awt.Shape |
getShape(float[][] points,
boolean closedPath,
java.awt.geom.AffineTransform transform)
Returns the shape matching the coordinates in
points array. |
static java.awt.Shape |
getShape(java.lang.String svgPathShape)
Returns the AWT shape matching the given SVG path shape.
|
static java.awt.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 java.awt.Stroke getStroke(float thickness, Polyline.CapStyle capStyle, Polyline.JoinStyle joinStyle, float[] dashPattern, float dashOffset)
public static java.awt.Shape getPolylineShape(float[][] points, boolean curved, boolean closedPath)
public static java.awt.Shape getShape(float[][] points, boolean closedPath, java.awt.geom.AffineTransform transform)
points
array.public static java.awt.Shape getShape(java.lang.String svgPathShape)
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License