public class RotationUtil
extends java.lang.Object
Constructor and Description |
---|
RotationUtil() |
Modifier and Type | Method and Description |
---|---|
static double |
asRadians(double degrees) |
static Position |
rotate(double x,
double y,
double radians) |
static void |
rotate(java.util.List<Node> nodes,
double degrees) |
static Position |
rotate(Position position,
double radians) |
static Position |
rotateAround(double x,
double y,
Position center,
double radians) |
static Position |
rotateAround(Position position,
Position center,
double radians) |
public static void rotate(java.util.List<Node> nodes, double degrees)
public static double asRadians(double degrees)
public static Position rotate(double x, double y, double radians)
public static Position rotateAround(Position position, Position center, double radians)