public static enum DirectedCubicArrow.BezierTemplate extends java.lang.Enum<DirectedCubicArrow.BezierTemplate>
Enum Constant and Description |
---|
BIDIRECTIONAL |
DIRECTED |
Modifier and Type | Method and Description |
---|---|
static float |
distanceToMidpoints(java.awt.geom.Point2D src,
java.awt.geom.Point2D tar) |
abstract java.awt.geom.Point2D.Float |
getBez1(java.awt.geom.Point2D src,
java.awt.geom.Point2D tar,
NeuronGroupNode.Port port) |
abstract java.awt.geom.Point2D.Float |
getBez2(java.awt.geom.Point2D src,
java.awt.geom.Point2D tar,
NeuronGroupNode.Port port) |
static DirectedCubicArrow.BezierTemplate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectedCubicArrow.BezierTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectedCubicArrow.BezierTemplate DIRECTED
public static final DirectedCubicArrow.BezierTemplate BIDIRECTIONAL
public static DirectedCubicArrow.BezierTemplate[] values()
for (DirectedCubicArrow.BezierTemplate c : DirectedCubicArrow.BezierTemplate.values()) System.out.println(c);
public static DirectedCubicArrow.BezierTemplate 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 abstract java.awt.geom.Point2D.Float getBez1(java.awt.geom.Point2D src, java.awt.geom.Point2D tar, NeuronGroupNode.Port port)
public abstract java.awt.geom.Point2D.Float getBez2(java.awt.geom.Point2D src, java.awt.geom.Point2D tar, NeuronGroupNode.Port port)
public static float distanceToMidpoints(java.awt.geom.Point2D src, java.awt.geom.Point2D tar)