Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.awt.geom.Point2D> |
getPath(java.awt.geom.Rectangle2D start,
java.awt.geom.Rectangle2D end)
Gets the points at which a line joining two rectangles
is bent according to this bent style.
|
static BentStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BentStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static BentStyle[] values()
for (BentStyle c : BentStyle.values()) System.out.println(c);
public static BentStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.ArrayList<java.awt.geom.Point2D> getPath(java.awt.geom.Rectangle2D start, java.awt.geom.Rectangle2D end)
start
- the starting rectangleend
- the ending rectangle