public class GeometryMath extends Object
Modifier and Type | Field and Description |
---|---|
static double |
DEG2RAD |
static double |
RAD2DEG |
Constructor and Description |
---|
GeometryMath() |
Modifier and Type | Method and Description |
---|---|
static Rect |
getBoundingBoxForRotatatedRectangle(Rect rect,
float angle,
Rect reuse) |
static Rect |
getBoundingBoxForRotatatedRectangle(Rect rect,
int centerX,
int centerY,
float angle,
Rect reuse) |
static Rect |
getBoundingBoxForRotatatedRectangle(Rect rect,
Point centerPoint,
float angle,
Rect reuse) |
public static final double DEG2RAD
public static final double RAD2DEG
public static final Rect getBoundingBoxForRotatatedRectangle(Rect rect, float angle, Rect reuse)
public static final Rect getBoundingBoxForRotatatedRectangle(Rect rect, Point centerPoint, float angle, Rect reuse)
public static final Rect getBoundingBoxForRotatatedRectangle(Rect rect, int centerX, int centerY, float angle, Rect reuse)