public class ShapeUtils extends Object
| Constructor and Description |
|---|
ShapeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyConnections(Edge<?,?> edge,
CanvasHandler canvasHandler,
MutationContext mutationContext) |
static double |
dist(double x0,
double y0,
double x1,
double y1)
Returns the distance between two points in a dual axis cartesian graph.
|
static double[] |
getContainerXY(Shape shape) |
static String |
getModuleAbsolutePath(String path) |
static boolean |
isAnimationMutation(Object view,
MutationContext mutationContext) |
static boolean |
isStaticMutation(MutationContext mutationContext) |
public static void applyConnections(Edge<?,?> edge, CanvasHandler canvasHandler, MutationContext mutationContext)
public static boolean isStaticMutation(MutationContext mutationContext)
public static boolean isAnimationMutation(Object view, MutationContext mutationContext)
public static double[] getContainerXY(Shape shape)
public static double dist(double x0,
double y0,
double x1,
double y1)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.